diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2026-10-12 08:20:51 -0700 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-10-14 09:34:53 +0200 |
| commit | 4439b626fb5104204952aa2f169451688fb6be26 (patch) | |
| tree | 94dc0922bd617c2417b6ab2dfac4c31f1723287f /tools/perf/scripts/python/stackcollapse.py | |
| parent | 1fc241cdeab276dc6c3ec14840faa706ed7712ff (diff) | |
| download | linux-4439b626fb5104204952aa2f169451688fb6be26.tar.gz linux-4439b626fb5104204952aa2f169451688fb6be26.zip | |
xfs: don't subtract excess usage twice when computing agf_btreeblks
LOLLM noticed that the free space btree repair code calculates
agf_btreeblks from the number of blocks we wrote to rebuild the free
space btrees (minus the roots). That's correct. However, it observes
that we subtract the "excess" reservation, which is not correct. Fix
this accounting problem.
Cc: stable@vger.kernel.org # v6.8
Fixes: 4bdfd7d15747b1 ("xfs: repair free space btrees")
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
