diff options
| author | Eric Sandeen <[email protected]> | 2012-03-28 12:21:11 -0500 |
|---|---|---|
| committer | Ben Myers <[email protected]> | 2013-07-09 13:21:15 -0500 |
| commit | a69c7c077228b0bef38ccb1d385c099e132fe54b (patch) | |
| tree | a94f8ab8798dd70b0b272ece0f95c1f0e55d7691 /tools/perf/scripts/python/compaction-times.py | |
| parent | 83e782e1a1cc0159888e58e14dfc8f3289663338 (diff) | |
xfs: use XFS_BMAP_BMDR_SPACE vs. XFS_BROOT_SIZE_ADJ
XFS_BROOT_SIZE_ADJ is an undocumented macro which accounts for
the difference in size between the on-disk and in-core btree
root. It's much clearer to just use the newly-added
XFS_BMAP_BMDR_SPACE macro which gives us the on-disk size
directly.
In one case, we must test that the if_broot exists before
applying the macro, however.
Signed-off-by: Eric Sandeen <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Reviewed-by: Ben Myers <[email protected]>
Signed-off-by: Ben Myers <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions