]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: zoned: introduce btrfs_zoned_bg_is_full
authorNaohiro Aota <naohiro.aota@wdc.com>
Wed, 4 May 2022 00:48:50 +0000 (17:48 -0700)
committerDavid Sterba <dsterba@suse.com>
Mon, 16 May 2022 15:17:32 +0000 (17:17 +0200)
commit71772c3463b7f276d1988c249f3937cb10a3b37d
tree524eb7511c8709caf291088f41837a28a96e2bf7
parentc99442969b8fb5a052289d131de283a0a862b3a0
btrfs: zoned: introduce btrfs_zoned_bg_is_full

Introduce a wrapper to check if all the space in a block group is
allocated or not.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c
fs/btrfs/zoned.c
fs/btrfs/zoned.h