This series backport zoned mode related fixes to the 5.15 branch. The patches are common among backport for 5.18. https://lore.kernel.org/linux-btrfs/20220808020201.712924-1-naohiro.aota@xxxxxxx/T/ Naohiro Aota (2): btrfs: zoned: prevent allocation from previous data relocation BG btrfs: zoned: fix critical section of relocation inode writeback fs/btrfs/block-group.h | 1 + fs/btrfs/extent-tree.c | 20 ++++++++++++++++++-- fs/btrfs/extent_io.c | 3 ++- fs/btrfs/inode.c | 2 ++ fs/btrfs/zoned.c | 27 +++++++++++++++++++++++++++ fs/btrfs/zoned.h | 5 +++++ 6 files changed, 55 insertions(+), 3 deletions(-) -- 2.35.1