diff options
author | 2022-05-03 17:48:52 -0700 | |
---|---|---|
committer | 2022-05-16 17:17:32 +0200 | |
commit | 8b8a53998caefebfe5c8da7a74c2b601caf5dd48 (patch) | |
tree | 145d95377538e175df106ce9e6e9716ee860bd8b /scripts/gdb/linux/utils.py | |
parent | btrfs: zoned: consolidate zone finish functions (diff) | |
download | wireguard-linux-8b8a53998caefebfe5c8da7a74c2b601caf5dd48.tar.xz wireguard-linux-8b8a53998caefebfe5c8da7a74c2b601caf5dd48.zip |
btrfs: zoned: finish block group when there are no more allocatable bytes left
Currently, btrfs_zone_finish_endio() finishes a block group only when the
written region reaches the end of the block group. We can also finish the
block group when no more allocation is possible.
Fixes: be1a1d7a5d24 ("btrfs: zoned: finish fully written block group")
CC: stable@vger.kernel.org # 5.16+
Reviewed-by: Pankaj Raghav <p.raghav@samsung.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions