| To: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 2/2] XFS: Inform the xfsaild of the push target before sleeping |
| From: | Dave Chinner <david@xxxxxxxxxxxxx> |
| Date: | Mon, 16 Mar 2009 22:00:52 +1100 |
| Cc: | xfs@xxxxxxxxxxx |
| In-reply-to: | <20090316103836.GA24744@xxxxxxxxxxxxx> |
| Mail-followup-to: | Christoph Hellwig <hch@xxxxxxxxxxxxx>, xfs@xxxxxxxxxxx |
| References: | <1237117243-25940-1-git-send-email-david@xxxxxxxxxxxxx> <1237117243-25940-3-git-send-email-david@xxxxxxxxxxxxx> <20090316103836.GA24744@xxxxxxxxxxxxx> |
| User-agent: | Mutt/1.5.18 (2008-05-17) |
On Mon, Mar 16, 2009 at 06:38:36AM -0400, Christoph Hellwig wrote: > This looks good to me. > > > Reviewed-by: Christoph Hellwig <hch@xxxxxx> > > But looking at that area I must say I'm not happy with it in general. > There are tons of useless roundtrips l_grant_lock because we drop > it just before calling xlog_grant_push_ail which needs it for > most of it's operation, and because we acquire it just before > sv_wait just to drop it. > > And the duplication between xlog_grant_log_space > xlog_regrant_write_log_space is quite ugly, too. I totally agree, but I don't feel like trying to rewrite this code right now. Maybe some rainy day.... Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 0/6] [XFS] introduce a AG inode tree walker, Dave Chinner |
|---|---|
| Next by Date: | [XFS updates] XFS development tree branch, mainline, updated. v2.6.28-rc3-14018-g5bee17f, xfs |
| Previous by Thread: | Re: [PATCH 2/2] XFS: Inform the xfsaild of the push target before sleeping, Christoph Hellwig |
| Next by Thread: | [PATCH 1/2] XFS: Prevent unwritten extent conversion from blocking I/O completion, Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |