diff options
author | Darrick J. Wong <[email protected]> | 2021-09-16 12:27:43 -0700 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2021-10-19 11:45:16 -0700 |
commit | 9ec691205e7d4a11190519df6561a168ae6af3a4 (patch) | |
tree | b1f20b3caabbd484e34057a0566f0d0325abbe0d /scripts/bpf_doc.py | |
parent | 1b236ad7ba800bc3e9994881a8a453eb8bf5ca0f (diff) |
xfs: compute the maximum height of the rmap btree when reflink enabled
Instead of assuming that the hardcoded XFS_BTREE_MAXLEVELS value is big
enough to handle the maximally tall rmap btree when all blocks are in
use and maximally shared, let's compute the maximum height assuming the
rmapbt consumes as many blocks as possible.
Signed-off-by: Darrick J. Wong <[email protected]>
Reviewed-by: Chandan Babu R <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions