xfs: introduce rmap btree definitions
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 3 Aug 2016 01:30:32 +0000 (11:30 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 3 Aug 2016 01:30:32 +0000 (11:30 +1000)
commitb87049444ac4a6515ba0427d16a73438b646435b
tree7751a4e8fbcdea52eb87852cc2e96aa93cf9abeb
parentdf3954ff72590fd20b68261a0c939e40fa3579ea
xfs: introduce rmap btree definitions

Originally-From: Dave Chinner <dchinner@redhat.com>

Add new per-ag rmap btree definitions to the per-ag structures. The
rmap btree will sit in the empty slots on disk after the free space
btrees, and hence form a part of the array of space management
btrees. This requires the definition of the btree to be contiguous
with the free space btrees.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/libxfs/xfs_alloc.c
fs/xfs/libxfs/xfs_btree.c
fs/xfs/libxfs/xfs_btree.h
fs/xfs/libxfs/xfs_format.h
fs/xfs/libxfs/xfs_types.h