]> git.hungrycats.org Git - linux/commitdiff
btrfs: stripe_alloc: trace why padding declined, at the moment it declined (debug_met...
authorZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Sat, 19 Sep 2026 17:17:51 +0000 (13:17 -0400)
committerZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Sun, 8 Nov 2026 23:38:16 +0000 (18:38 -0500)
The hunks of "btrfs: stripe_alloc: trace why padding declined, at the
moment it declined" (earlier in this series) that need code from "btrfs:
raid56: say whether a metadata read-modify-write is a write hole", which
comes after it in this series: they are applied here, once "btrfs:
raid56: say whether a metadata read-modify-write is a write hole" is in,
instead of with the rest of "btrfs: stripe_alloc: trace why padding
declined, at the moment it declined".

Assisted-by: Claude:claude-fable-5
Assisted-by: Claude:claude-opus-5-5
fs/btrfs/sysfs.c

index 0eeddb135c7ee94c2829374ea18a9b9c1bd29a32..c059eea92398bacdae3c09528950e74eb6540ae3 100644 (file)
@@ -1328,6 +1328,7 @@ static ssize_t btrfs_stripe_park_stats_show(struct kobject *kobj,
                "pad_decline_live %lld\n"
                "pad_decline_no_run %lld\n"
                "pad_decline_unallocated %lld\n"
+               "pad_decline_uncovered %lld\n"
                "meta_rmw %lld\n"
                "meta_rmw_cur %lld\n"
                "meta_rmw_old %lld\n"
@@ -1357,6 +1358,7 @@ static ssize_t btrfs_stripe_park_stats_show(struct kobject *kobj,
                atomic64_read(&fs_info->stripe_park_stats.pad_decline_live),
                atomic64_read(&fs_info->stripe_park_stats.pad_decline_no_run),
                atomic64_read(&fs_info->stripe_park_stats.pad_decline_unallocated),
+               atomic64_read(&fs_info->stripe_park_stats.pad_decline_uncovered),
                atomic64_read(&fs_info->stripe_park_stats.meta_rmw),
                atomic64_read(&fs_info->stripe_park_stats.meta_rmw_cur),
                atomic64_read(&fs_info->stripe_park_stats.meta_rmw_old),