]> git.ipfire.org Git - people/ms/linux.git/commit - fs/xfs/libxfs/xfs_ialloc.c
xfs: support the XFS_BTNUM_FINOBT free inode btree type
authorBrian Foster <bfoster@redhat.com>
Thu, 24 Apr 2014 06:00:52 +0000 (16:00 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 24 Apr 2014 06:00:52 +0000 (16:00 +1000)
commitaafc3c24652924ea951d215d04a3f42e832e9d7d
treef043c4c8dc0e307e6ed7e99acb284f8363a3e5c4
parent8e2c84df20aa66ae9a6ee32831a9c622f4823118
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>
fs/xfs/xfs_ag.h
fs/xfs/xfs_btree.c
fs/xfs/xfs_btree.h
fs/xfs/xfs_format.h
fs/xfs/xfs_ialloc.c
fs/xfs/xfs_ialloc_btree.c
fs/xfs/xfs_log_recover.c
fs/xfs/xfs_stats.c
fs/xfs/xfs_stats.h
fs/xfs/xfs_types.h