The debug half of "btrfs: stripe_alloc: report read-modify-write of
uncovered stripes", earlier in this series: the meta_rmw counter in
stripe_park_stats, which goes with the series' other debug statistics.
The warning itself is in that patch.
Assisted-by: Claude:claude-fable-5
Assisted-by: Claude:claude-opus-5-5
* stripe.
*/
atomic64_t pad_decline_uncovered;
+ atomic64_t meta_rmw;
atomic64_t congestion_short;
/* Stripes pinned in the rbio cache (rbio_needs_pin()). */
atomic64_t rbio_pinned;
!(rbio->bioc->map_type & BTRFS_BLOCK_GROUP_METADATA))
return;
+ atomic64_inc(&fs_info->stripe_park_stats.meta_rmw);
btrfs_warn_rl(fs_info,
"read-modify-write of full stripe %llu: this block group is not covered by stripe_alloc, the raid56 write hole applies to it",
rbio->bioc->full_stripe_logical);
"padded %lld\n"
"padded_unwritten %lld\n"
"rmw_reads %lld\n"
+ "meta_rmw %lld\n"
"rbio_pin_refused %lld\n"
"rbio_pinned_now %d\n"
"rbio_pinned_live %d\n"
atomic64_read(&fs_info->stripe_park_stats.padded),
atomic64_read(&fs_info->stripe_park_stats.padded_unwritten),
atomic64_read(&fs_info->stripe_park_stats.rmw_reads),
+ atomic64_read(&fs_info->stripe_park_stats.meta_rmw),
atomic64_read(&fs_info->stripe_park_stats.rbio_pin_refused),
pinned,
live,