]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit37b01e9a8a8d3751deb6e0ab96303d17761f0e1a
tree145fbe56fa8402d6ad2756ce966461f1103febeb
parentd395a96b8e3580ad56f1ed4477d11f622649cbfa
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