]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: support the XFS_BTNUM_FINOBT free inode btree type
authorBrian Foster <bfoster@redhat.com>
Tue, 20 May 2014 21:53:07 +0000 (07:53 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 20 May 2014 21:53:07 +0000 (07:53 +1000)
commitc0a4c227cd016f07f88833885c2016c87b58171f
tree63af9df04aca35804ae2b9aa87f812c9ad2da96c
parentdad13219a6df796351bf8ffcb795c6b3af06d114
xfs: support the XFS_BTNUM_FINOBT free inode btree type

Define the AGI fields for the finobt root/level and add magic
numbers. Update the btree code to add support for the new
XFS_BTNUM_FINOBT inode btree.

The finobt root block is reserved immediately following the inobt
root block in the AG. Update XFS_PREALLOC_BLOCKS() to determine the
starting AG data block based on whether finobt support is enabled.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
include/xfs_ag.h
include/xfs_btree.h
include/xfs_format.h
include/xfs_types.h
libxfs/xfs_btree.c
libxfs/xfs_ialloc.c
libxfs/xfs_ialloc_btree.c