summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2026-09-22 23:01:00 -0700
committerCarlos Maiolino <cem@kernel.org>2026-10-05 12:05:29 +0200
commitf98d007017acf0eaec2e116ff9c0ece735f61bb3 (patch)
tree7def75c9a47a259c138f8bfb2ea1e753dd12ca79 /tools/perf/scripts/python/flamegraph.py
parentac81739a869c24a42db15282a44de68623376f27 (diff)
xfs: compute the correct fdblocks/frextents for repair when they're negative
LOLLM observed that if either fdblocks or frextents are negative, we'll set the CORRUPT flag and exit immediately. This doesn't work for a repair because we still have to walk the filesystem metadata to compute the correct summary counters so that we can install the new values. Currently we just write zeroes into the summary counters, which isn't right. Cc: stable@vger.kernel.org # v6.9 Fixes: 4ed080cd7cb077 ("xfs: repair summary counters") Signed-off-by: Darrick J. Wong <djwong@kernel.org> Assisted-by: LOLLM # finding obvious bugs Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions