]> git.hungrycats.org Git - linux/commit
btrfs: raid56: do not call a covered stripe_meta group uncovered
authorZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Wed, 16 Sep 2026 05:20:32 +0000 (01:20 -0400)
committerZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Fri, 18 Sep 2026 21:36:31 +0000 (17:36 -0400)
commit28672f350b5c9abfd2c428efd5417372079998cd
tree7322ff189191c1cc70e8576f805d7981df174d23
parente8918f2628854b827ba1ad911a29a6c7ff1a3949
btrfs: raid56: do not call a covered stripe_meta group uncovered

report_uncovered_rmw() predates stripe_meta: it treats every metadata
read-modify-write as a write to a group the allocator does not cover
and says so, rate limited, on each one.  With raid56 metadata under
stripe_alloc those writes are partial writes inside one transaction's
run -- the audit it calls first classifies them (meta_rmw_cur) and
warns on its own if one ever rewrites parity over a committed block --
so the message told users of the covered configuration that the write
hole applied to them on every commit:

  read-modify-write of full stripe 42467328: this block group is not
  covered by stripe_alloc, the raid56 write hole applies to it

Keep the counter and the audit, and keep the message for what it was
written for: system chunks and mixed groups.

Assisted-by: Claude:claude-fable-5-1
fs/btrfs/raid56.c