summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/transaction.c
diff options
context:
space:
mode:
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>2021-06-29 03:16:46 +0900
committerDavid Sterba <dsterba@suse.com>2021-07-07 17:42:37 +0200
commit5f93e776c6734cea989aeb4f2d6c97e521baa683 (patch)
treea06c2b284e5c8dfe52a07b1d24bc26cab93dc153 /fs/btrfs/transaction.c
parent54afaae34ee49e98c1c902b444b42832551d090c (diff)
downloadlinux-5f93e776c6734cea989aeb4f2d6c97e521baa683.tar.bz2
btrfs: zoned: print unusable percentage when reclaiming block groups
When we're automatically reclaiming a zone, because its zone_unusable value is above the reclaim threshold, we're only logging how much percent of the zone's capacity are used, but not how much of the capacity is unusable. Also print the percentage of the unusable space in the block group before we're reclaiming it. Example: BTRFS info (device sdg): reclaiming chunk 230686720 with 13% used 86% unusable CC: stable@vger.kernel.org # 5.13 Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/transaction.c')
0 files changed, 0 insertions, 0 deletions