diff options
author | Naohiro Aota <naohiro.aota@wdc.com> | 2025-06-29 23:18:29 +0900 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-07-22 00:09:23 +0200 |
commit | 62be7afcc13b2727bdc6a4c91aefed6b452e6ecc (patch) | |
tree | 095d7bd501b6cba8a5790ca853a7c8ff27c24340 /lib/cpu-notifier-error-inject.c | |
parent | 3061801420469610c8fa6080a950e56770773ef1 (diff) |
btrfs: zoned: requeue to unused block group list if zone finish failed
btrfs_zone_finish() can fail for several reason. If it is -EAGAIN, we need
to try it again later. So, put the block group to the retry list properly.
Failing to do so will keep the removable block group intact until remount
and can causes unnecessary ENOSPC.
Fixes: 74e91b12b115 ("btrfs: zoned: zone finish unused block group")
CC: stable@vger.kernel.org # 6.1+
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 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions