diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2026-09-14 22:37:20 -0700 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-09-17 11:27:41 +0200 |
| commit | 41c4c41cf6c44f98db2916e1781f537d9ba6461a (patch) | |
| tree | 9f8c8608b2fca6bdf9ccbad1f141452a860e217a /tools/perf/tests/shell/test_stackcollapse_python.sh | |
| parent | 065f3ce5936e68da75f3dc18201d290073d78f3c (diff) | |
| download | linux-next-41c4c41cf6c44f98db2916e1781f537d9ba6461a.tar.gz linux-next-41c4c41cf6c44f98db2916e1781f537d9ba6461a.zip | |
xfs: fix rtgroup repair estimations
When I added online fsck for realtime reflink, I forgot to update
xrep_calc_rtgroup_resblks to factor in the size of the refcount btree
when it guesses how much space we need to start a repair. This hasn't
been a huge problem in practice because there are few filesystems with
(a) realtime, (b) rtgroups, (c) reflink, and (d) no rmap. But let's fix
this before someone stumbles upon it, especially since LOLLM flagged
this for me.
Cc: stable@vger.kernel.org # v6.14
Fixes: 83ccffc489975d ("xfs: online repair of the realtime refcount btree")
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/tests/shell/test_stackcollapse_python.sh')
0 files changed, 0 insertions, 0 deletions
