[PATCH v2 04/10] xfs: introduce per allocation group inumbers
Christoph Hellwig
hch at infradead.org
Fri Apr 25 01:43:33 CDT 2014
On Fri, Apr 18, 2014 at 08:58:29AM +0800, Jeff Liu wrote:
> From: Jie Liu <jeff.liu at oracle.com>
>
> Introduce xfs_perag_inumbers(), it could be used to fetch the inode number
> tables per allocation group via a new ioctl(2) in the future. Also, that
> would be a net win considering the scalability for a file system with huge
> number of inodes as multiple allocation groups can be scanned in parallel,
> refactor xfs_inumbers() with it.
Given that you don't actually introduce a per-ag inumbers interface in
this series I'd prefer if you just refactor the inumbers code to
add a helper that operates on an AG with xfs_inumbers moving on to
the next one, but not adding the xfs_aginumbers structure that just
makes the move less obvious for now.
More information about the xfs
mailing list