[GIT PULL] Btrfs fixes for 6.0-rc7

From: David Sterba
Date: Tue Sep 20 2022 - 09:11:21 EST


Hi,

a few more fixes, also for stable backports. Please pull, thanks.

- two fixes for hangs in the umount sequence where threads depend on
each other and the work must be finished in the right order

- in zoned mode, wait for flushing all block group metadata IO before
finishing the zone

----------------------------------------------------------------
The following changes since commit 5da431b71d4b9be3c8cf6786eff9e2d41a5f9f65:

btrfs: fix the max chunk size and stripe length calculation (2022-09-06 17:49:58 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-6.0-rc6-tag

for you to fetch changes up to 2dd7e7bc02829eded71be2342a93dc035f5223f9:

btrfs: zoned: wait for extent buffer IOs before finishing a zone (2022-09-13 14:05:18 +0200)

----------------------------------------------------------------
Filipe Manana (2):
btrfs: fix hang during unmount when stopping block group reclaim worker
btrfs: fix hang during unmount when stopping a space reclaim worker

Naohiro Aota (1):
btrfs: zoned: wait for extent buffer IOs before finishing a zone

fs/btrfs/disk-io.c | 42 ++++++++++++++++++++++++++++++++++++------
fs/btrfs/zoned.c | 40 ++++++++++++++++++++++++++++++++++++++--
2 files changed, 74 insertions(+), 8 deletions(-)