diff options
| author | 2026-01-27 16:10:20 +0100 | |
|---|---|---|
| committer | 2026-01-29 10:57:18 +0100 | |
| commit | c17a1c03493bee4e7882ac79a52b8150cb464e56 (patch) | |
| tree | 033266e671f9fdf24daa6b04fa104a8a170ddd00 /tools/perf/scripts/python | |
| parent | Merge tag 'scrub-syzbot-fixes-7.0_2026-01-25' of https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux into xfs-7.0-merge (diff) | |
xfs: use a seprate member to track space availabe in the GC scatch buffer
When scratch_head wraps back to 0 and scratch_tail is also 0 because no
I/O has completed yet, the ring buffer could be mistaken for empty.
Fix this by introducing a separate scratch_available member in
struct xfs_zone_gc_data. This actually ends up simplifying the code as
well.
Reported-by: Chris Mason <clm@meta.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hans Holmberg <hans.holmberg@wdc.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
