xfs: store rmapbt block count in the AGF
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 16 Aug 2016 22:31:49 +0000 (08:31 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 16 Aug 2016 22:31:49 +0000 (08:31 +1000)
commitf32866fdc9ed077c3bc7160f4f53d6a479201d46
tree145fbe56fa8402d6ad2756ce966461f1103febeb
parent8b2180b3bf0338625cab07da6543acb436df9c40
xfs: store rmapbt block count in the AGF

Track the number of blocks used for the rmapbt in the AGF.  When we
get to the AG reservation code we need this counter to quickly
make our reservation during mount.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/libxfs/xfs_alloc.c
fs/xfs/libxfs/xfs_format.h
fs/xfs/libxfs/xfs_rmap_btree.c
fs/xfs/xfs_fsops.c