| To: | Dave Chinner <david@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 5/8] xfs: consume iodone callback items on buffers as they are processed |
| From: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
| Date: | Tue, 30 Nov 2010 15:24:00 -0500 |
| Cc: | xfs@xxxxxxxxxxx |
| In-reply-to: | <1290993152-20999-6-git-send-email-david@xxxxxxxxxxxxx> |
| References: | <1290993152-20999-1-git-send-email-david@xxxxxxxxxxxxx> <1290993152-20999-6-git-send-email-david@xxxxxxxxxxxxx> |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
On Mon, Nov 29, 2010 at 12:12:29PM +1100, Dave Chinner wrote: > From: Dave Chinner <dchinner@xxxxxxxxxx> > > To allow buffer iodone callbacks to consume multiple items off the > callback list, first we need to convert the xfs_buf_do_callbacks() > to consume items and always pull the next item from the head of the > list. > > The means the item list walk is never dependent on knowing the > next item on the list and hence allows callbacks to remove itesm > from the list as well. This allows callbacks to do bulk operations > by scanning the list for identical callbacks, consuming them all > and then processing them in bulk, negating the need for multiple > callbacks of that type. > > Signed-off-by: Dave Chinner <dchinner@xxxxxxxxxx> Looks good, Reviewed-by: Christoph Hellwig <hch@xxxxxx> |
| Previous by Date: | Re: [PATCH 4/8] xfs: reduce the number of AIL push wakeups, Christoph Hellwig |
|---|---|
| Next by Date: | [PATCH] Xfstest 245: accept ENOTEMPTY as a valid error for the test, Josef Bacik |
| Previous by Thread: | [PATCH 5/8] xfs: consume iodone callback items on buffers as they are processed, Dave Chinner |
| Next by Thread: | [PATCH 4/8] xfs: reduce the number of AIL push wakeups, Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |