diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2021-09-16 12:27:34 -0700 |
|---|---|---|
| committer | Darrick J. Wong <djwong@kernel.org> | 2021-10-19 11:45:15 -0700 |
| commit | b74e15d720d0764345934ebb599a99a077c52533 (patch) | |
| tree | c57f72b02abd7757e6dd30d7a33095d06ec4c2c1 /fs/xfs/libxfs/xfs_ialloc_btree.c | |
| parent | xfs: rename m_ag_maxlevels to m_allocbt_maxlevels (diff) | |
| download | linux-b74e15d720d0764345934ebb599a99a077c52533.tar.gz linux-b74e15d720d0764345934ebb599a99a077c52533.zip | |
xfs: compute maximum AG btree height for critical reservation calculation
Compute the actual maximum AG btree height for deciding if a 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>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_ialloc_btree.c')
0 files changed, 0 insertions, 0 deletions
