[PATCH 4/7] xfs: add a short cut to xfs_dialloc for the non-NULL agbp case

Dave Chinner david at fromorbit.com
Sun Jun 17 21:11:07 CDT 2012


On Tue, Jun 05, 2012 at 10:46:51AM -0400, Christoph Hellwig wrote:
> In this case we already have selected an AG and know it has free space
> beause the buffer lock never got released.  Jump directly into xfs_dialloc_ag
> and short cut the AG selection loop.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>

Looks fine.

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

-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list