diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-09-16 21:27:34 +0200 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-10-19 20:45:15 +0200 |
commit | b74e15d720d0764345934ebb599a99a077c52533 (patch) | |
tree | c57f72b02abd7757e6dd30d7a33095d06ec4c2c1 /net/qrtr | |
parent | xfs: rename m_ag_maxlevels to m_allocbt_maxlevels (diff) | |
download | linux-b74e15d720d0764345934ebb599a99a077c52533.tar.xz 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 'net/qrtr')
0 files changed, 0 insertions, 0 deletions