[PATCH 3/3] XFS: Sort delayed write buffers before dispatch

Dave Chinner david at fromorbit.com
Mon Jan 4 17:53:09 CST 2010


On Mon, Jan 04, 2010 at 10:43:31AM -0500, Christoph Hellwig wrote:
> On Sat, Jan 02, 2010 at 02:03:36PM +1100, Dave Chinner wrote:
> > Ideally this should use a list sort rather than requiring an
> > external buffer to sort the buffers in, but for simplicity
> > just do it via sort function. Followup patches are needed to
> > take the list sort functions from the DRM and UBIFS code and
> > make it a common function and to utilise it. That will allow
> > sorting the entire delwri queue to be written in one go.
> 
> 
> Maybe getting the common list sort in ASAP might be a good idea.  That
> way we could have it ready by the time this patchset is merged.  If not
> adding a new list sort to XFS temporarily might be a better idea than
> artifically flattening the list.

I'm about to post that and an updated patch series to use it. ;)

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com




More information about the xfs mailing list