aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorDarrick J. Wong <[email protected]>2019-08-26 17:06:00 -0700
committerDarrick J. Wong <[email protected]>2019-08-26 17:43:15 -0700
commit519e5869d50d1e41b39cef4d757973469393fac7 (patch)
treee2f7d472a958d242f4e61f6113dc315d34ade387 /tools/perf/scripts/python/bin/stackcollapse-record
parent71912e08e06b7041ba3b40945328b84798dfe6fc (diff)
xfs: bmap scrub should only scrub records once
The inode block mapping scrub function does more work for btree format extent maps than is absolutely necessary -- first it will walk the bmbt and check all the entries, and then it will load the incore tree and check every entry in that tree, possibly for a second time. Simplify the code and decrease check runtime by separating the two responsibilities. The bmbt walk will make sure the incore extent mappings are loaded, check the shape of the bmap btree (via xchk_btree) and check that every bmbt record has a corresponding incore extent map; and the incore extent map walk takes all the responsibility for checking the mapping records and cross referencing them with other AG metadata. This enables us to clean up some messy parameter handling and reduce redundant code. Rename a few functions to make the split of responsibilities clearer. Signed-off-by: Darrick J. Wong <[email protected]> Reviewed-by: Dave Chinner <[email protected]> Reviewed-by: Brian Foster <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions