[GIT PULL] Btrfs fixes for 6.11-rc7

From: David Sterba
Date: Wed Sep 04 2024 - 14:11:49 EST


Hi,

a few more fixes, for stable trees. Please pull, thanks.

- followup fix for direct io and fsync under some conditions, reported
by QEMU users

- fix a potential leak when disabling quotas while some extent tracking
work can still happen

- in zoned mode handle unexpected change of zone write pointer in
RAID1-like block groups, turn the zones to read-only

----------------------------------------------------------------
The following changes since commit ecb54277cb63c273e8d74272e5b9bfd80c2185d9:

btrfs: fix uninitialized return value from btrfs_reclaim_sweep() (2024-08-27 16:42:09 +0200)

are available in the Git repository at:

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

for you to fetch changes up to cd9253c23aedd61eb5ff11f37a36247cd46faf86:

btrfs: fix race between direct IO write and fsync when using same fd (2024-09-03 20:29:55 +0200)

----------------------------------------------------------------
Fedor Pchelkin (1):
btrfs: qgroup: don't use extent changeset when not needed

Filipe Manana (1):
btrfs: fix race between direct IO write and fsync when using same fd

Naohiro Aota (1):
btrfs: zoned: handle broken write pointer on zones

fs/btrfs/ctree.h | 1 -
fs/btrfs/direct-io.c | 16 +++-------------
fs/btrfs/file.c | 9 +++++++--
fs/btrfs/qgroup.c | 3 +--
fs/btrfs/transaction.h | 6 ++++++
fs/btrfs/zoned.c | 30 +++++++++++++++++++++++++-----
6 files changed, 42 insertions(+), 23 deletions(-)