[PATCH 2/4] xfs: force the log if we encounter pinned buffers in .iop_pushbuf

Dave Chinner david at fromorbit.com
Sun Oct 9 20:39:29 CDT 2011


On Thu, Oct 06, 2011 at 02:32:59PM -0400, Christoph Hellwig wrote:
> We need to check for pinned buffers even in .iop_pushbuf given that inode
> items flush into the same buffers that may be pinned directly due operations
> on the unlinked inode list operating directly on buffers.  To do this add a
> return value to .iop_pushbuf that tells the AIL push about this and use
> the existing log force mechanisms to unpin it.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> Reported-by: Stefan Priebe <s.priebe at profihost.ag>
> Tested-by: Stefan Priebe <s.priebe at profihost.ag>

Reviewed-by: Dave Chinner <dchinner at redhat.com>

-- 
Dave Chinner
david at fromorbit.com




More information about the xfs mailing list