]> 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)
commite4a71d143e8581bca06120ffbc145d9936db632e
tree145fbe56fa8402d6ad2756ce966461f1103febeb
parent769d1c614421ec3a1cbca9ef777670cbd5ec2917
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