xfs: use the finobt block counts to speed up mount times
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 26 Aug 2020 17:54:27 +0000 (10:54 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 16 Sep 2020 03:52:39 +0000 (20:52 -0700)
commit1ac35f061af011442eeb731632f6daae991ecf7c
tree7cc0b01f337758cd41f71f748c154ec252bd1f75
parent2a39946c984464e4aac82c556ba9915589be7323
xfs: use the finobt block counts to speed up mount times

Now that we have reliable finobt block counts, use them to speed up the
per-AG block reservation calculations at mount time.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
fs/xfs/libxfs/xfs_ialloc_btree.c