[PATCH 1/4] xfs: do not update xa_last_pushed_lsn for locked items

Dave Chinner david at fromorbit.com
Sun Oct 9 20:37:49 CDT 2011


On Thu, Oct 06, 2011 at 02:32:58PM -0400, Christoph Hellwig wrote:
> If an item was locked we should not update xa_last_pushed_lsn and thus skip
> it when restarting the AIL scan as we need to be able to lock and write it
> out as soon as possible.  Otherwise heavy lock contention might starve AIL
> pushing too easily, especially given the larger backoff once we moved
> xa_last_pushed_lsn all the way to the target lsn.
> 
> 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