]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
btrfs: print available space across all block groups when dumping space info
authorFilipe Manana <fdmanana@suse.com>
Wed, 26 Jul 2023 15:57:02 +0000 (16:57 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 21 Aug 2023 12:52:17 +0000 (14:52 +0200)
commit1ff9fee3bd2e865c81d29684dd40a91698f7999b
treef4344884f3c8d39384feafa2efe6f925bf23489d
parente50b122b832bed9f36d459f19fd73d00658f5c1e
btrfs: print available space across all block groups when dumping space info

When dumping a space info also sum the available space for all block
groups and then print it. This often useful for debugging -ENOSPC
related problems.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/space-info.c