| To: | Dave Chinner <david@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 5/7] xfs: Use delay write promotion for dquot flushing |
| From: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
| Date: | Mon, 25 Jan 2010 07:03:14 -0500 |
| Cc: | xfs@xxxxxxxxxxx |
| In-reply-to: | <1264400564-19704-6-git-send-email-david@xxxxxxxxxxxxx> |
| References: | <1264400564-19704-1-git-send-email-david@xxxxxxxxxxxxx> <1264400564-19704-6-git-send-email-david@xxxxxxxxxxxxx> |
| User-agent: | Mutt/1.5.19 (2009-01-05) |
On Mon, Jan 25, 2010 at 05:22:42PM +1100, Dave Chinner wrote: > xfs_qm_dqflock_pushbuf_wait() does a very similar trick to item > pushing used to do to flush out delayed write dquot buffers. Change > it to use the new promotion method rather than an async flush. > > Also, xfs_qm_dqflock_pushbuf_wait() can return without the flush lock > held, yet the callers make the assumption that after this call the > flush lock is held. Always return with the flush lock held. > > Signed-off-by: Dave Chinner <david@xxxxxxxxxxxxx> Looks good, Reviewed-by: Christoph Hellwig <hch@xxxxxx> This also removes the last user of xfs_bawrite, so you might want to kill it. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 4/7] xfs: Sort delayed write buffers before dispatch, Christoph Hellwig |
|---|---|
| Next by Date: | Re: [PATCH 6/7] xfs: kill the unused XFS_QMOPT_* flush flags, Christoph Hellwig |
| Previous by Thread: | [PATCH 5/7] xfs: Use delay write promotion for dquot flushing, Dave Chinner |
| Next by Thread: | [PATCH 1/7] xfs: Make inode reclaim states explicit, Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |