summaryrefslogtreecommitdiff
path: root/lib/objpool.c
diff options
context:
space:
mode:
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>2026-06-23 13:38:51 +0200
committerDavid Sterba <dsterba@suse.com>2026-07-22 15:24:15 +0200
commita3096805d23a3f56345387e62527c00976bf62f9 (patch)
treef22cffa4591448850492f29ed59d4b18e17038c0 /lib/objpool.c
parent1f3ff103ac6eec7ed23491445719a1b0b1f30741 (diff)
downloadlinux-next-a3096805d23a3f56345387e62527c00976bf62f9.tar.gz
linux-next-a3096805d23a3f56345387e62527c00976bf62f9.zip
btrfs: zoned: don't force read-only on transient -EAGAIN from reloc merge
On a zoned FS, btrfs_delayed_refs_rsv_refill() returns -EAGAIN whenever the over-committed metadata plus the zone_unusable bytes exceeds the usable size in a metadata block-group to avoid heavy over-commit of metadata and early ENOSPC in one transaction. If this happens while doing reclaim, the transaction is getting aborted. Treat -EAGAIN as a soft, retryable condition in case of block-group reclaim. Reported-by: Damien Le Moal <dlemoal@kernel.org> Fixes: 7bcb04de982f ("btrfs: zoned: cap delayed refs metadata reservation to avoid overcommit") Reviewed-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'lib/objpool.c')
0 files changed, 0 insertions, 0 deletions