[PATCH 6/7] xfs: do not read the AGI buffer in xfs_dialloc until nessecary

Mark Tinguely tinguely at sgi.com
Thu Jul 26 12:53:46 CDT 2012


On 07/04/12 09:54, 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.
>
> Reviewed-by: Dave Chinner<dchinner at redhat.com>
> Signed-off-by: Christoph Hellwig<hch at lst.de>


Looks good.

Reviewed-by: Mark Tinguely <tinguely at sgi.com>



More information about the xfs mailing list