[PATCH 6/7] xfs: do not read the AGI buffer in xfs_dialloc until nessecary
Dave Chinner
david at fromorbit.com
Sun Jun 17 21:30:04 CDT 2012
On Tue, Jun 05, 2012 at 10:46:53AM -0400, Christoph Hellwig wrote:
> Refactor the AG selection loop in xfs_dialloc to operate on the in-memory
> perag data as much as possible. We only read the AGI buffer once we have
> selected an AG to allocate inodes now instead of for every AG considered.
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
Looks ok to me.
Reviewed-by: Dave Chinner <dchinner at redhat.com>
--
Dave Chinner
david at fromorbit.com
More information about the xfs
mailing list