aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorNaohiro Aota <[email protected]>2025-06-29 14:18:29 +0000
committerDavid Sterba <[email protected]>2025-07-21 22:09:23 +0000
commit62be7afcc13b2727bdc6a4c91aefed6b452e6ecc (patch)
tree095d7bd501b6cba8a5790ca853a7c8ff27c24340 /fs/btrfs/inode.c
parentbtrfs: zoned: do not remove unwritten non-data block group (diff)
downloadkernel-62be7afcc13b2727bdc6a4c91aefed6b452e6ecc.tar.gz
kernel-62be7afcc13b2727bdc6a4c91aefed6b452e6ecc.zip
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: [email protected] # 6.1+ Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Naohiro Aota <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/inode.c')
0 files changed, 0 insertions, 0 deletions