summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_mount.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-09-01 11:15:52 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-09-17 18:55:10 -0700
commitd2d310f9258dec7f134201c472d2818df8ac385c (patch)
treec4eec20743b5248065b17d2ad6e7ab4e69c966f8 /fs/xfs/xfs_mount.c
parent330266a935c984f5f0410895f1912b99946166b9 (diff)
xfs: compute actual maximum btree height for critical reservation calculation
Compute the actual maximum btree height when deciding if per-AG block reservation is critically low. This only affects the sanity check condition, since we /generally/ will trigger on the 10% threshold. This is a long-winded way of saying that we're removing one more usage of XFS_BTREE_MAXLEVELS. Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_mount.c')
0 files changed, 0 insertions, 0 deletions