summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2023-04-12 05:00:09 +0300
committerDarrick J. Wong <djwong@kernel.org>2023-04-12 05:00:09 +0300
commit2bea8df0a52b05bc0dddd54e950ae37c83533b03 (patch)
tree6508ec181a26296364dab3b79567d37c9177839e /tools/perf/scripts/python/export-to-postgresql.py
parentc99f99fa3eafc824ea6859590f5d2e4c6a7f4359 (diff)
downloadlinux-2bea8df0a52b05bc0dddd54e950ae37c83533b03.tar.xz
xfs: always scrub record/key order of interior records
In commit d47fef9342d0, we removed the firstrec and firstkey fields of struct xchk_btree because Christoph thought they were unnecessary because we could use the record index in the btree cursor. This is incorrect because bc_ptrs (now bc_levels[].ptr) tracks the cursor position within a specific btree block, not within the entire level. The end result is that scrub no longer detects situations where the rightmost record of a block is identical to the leftmost record of that block's right sibling. Fix this regression by reintroducing record validity booleans so that order checking skips *only* the leftmost record/key in each level. Fixes: d47fef9342d0 ("xfs: don't track firstrec/firstkey separately in xchk_btree") Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions