]> git.hungrycats.org Git - linux/commit
btrfs: stripe_alloc: log compaction and trapped bytes in the reclaim log
authorZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Tue, 20 Oct 2026 17:04:19 +0000 (13:04 -0400)
committerZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Mon, 2 Nov 2026 02:16:29 +0000 (21:16 -0500)
commitb4f8382af42fe5e0c8a0cf4edcf4d4712ccae0a5
treee6f789ac19fcf6da6f66ad451a7a22a8a1a5f7b2
parent27e6b64b828e5bce3018129cb76475e4876560f9
btrfs: stripe_alloc: log compaction and trapped bytes in the reclaim log

Say in the reclaim debug lines whether a stripe group is being compacted
or relocated, with the trapped bytes the reclaim trigger counted, and
whether it was compacted or relocated.  Without that, stripe-reclaim-test,
which counts reclaims in the log, could not tell automatic compaction from
relocation, and an octopus replace stalled behind a reclaim the log did not
explain.

Assisted-by: Claude:claude-opus-5-5
fs/btrfs/block-group.c