[lkml]   [2011]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [xfs-masters] linux-next: manual merge of the xfs tree with Linus' tree
On Mon, Mar 28, 2011 at 12:47:53PM +0200, Christoph Hellwig wrote:
> What XFS does is to replace blk_run_address_space, which was a wrapper
> around blk_run_backing_dev with a direct call to blk_run_backing_dev,
> as there change means we don't have the address_space around anymore.
> Jens' tree removes both these functions, and introduces blk_flush_plug
> as a sort-of replacement. Sticking to the variant from Jens' tree / mainline
> with blk_flush_plug is the correct thing here for this case.
> Where there more conflicts than just this?

Actually I think we can remove some calls alltogether: the on-stack
plugging already flushes the plug queue when context switching,
which we'll always do in xfs_buf_wait_unpin, and if we get the lock
without blocking in xfs_buf_lock we don't need to unplug either.

Anyway, that's something to take care off in the XFS tree once it's
merged after the next pull for Linus, no need to keep a fixup that
complicated in linux-next.

 \ /
  Last update: 2011-03-28 12:55    [W:0.044 / U:1.228 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site