[GIT PULL] Btrfs fixes for 6.11-rc3

From: David Sterba
Date: Wed Aug 07 2024 - 09:40:38 EST


Hi,

a few regular fixes. Please pull, thanks.

- fix double inode unlock for direct IO sync writes (reported by syzbot)

- fix root tree id/name map definitions, don't use fixed size buffers
for name (reported by -Werror=unterminated-string-initialization)

- fix qgroup reserve leaks in bufferd write path

- update scrub status structure more often so it can be reported in user
space more accurately and let 'resume' not repeat work

- in preparation to remove space chache v1 in the future print a warning
if it's detected

----------------------------------------------------------------
The following changes since commit b8e947e9f64cac9df85a07672b658df5b2bcff07:

btrfs: initialize location to fix -Wmaybe-uninitialized in btrfs_lookup_dentry() (2024-07-30 15:33:06 +0200)

are available in the Git repository at:

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

for you to fetch changes up to 12653ec36112ab55fa06c01db7c4432653d30a8d:

btrfs: avoid using fixed char array size for tree names (2024-08-02 22:44:27 +0200)

----------------------------------------------------------------
Boris Burkov (2):
btrfs: implement launder_folio for clearing dirty page reserve
btrfs: fix qgroup reserve leaks in cow_file_range

Filipe Manana (1):
btrfs: fix double inode unlock for direct IO sync writes

Josef Bacik (1):
btrfs: emit a warning about space cache v1 being deprecated

Qu Wenruo (3):
btrfs: factor out stripe length calculation into a helper
btrfs: scrub: update last_physical after scrubbing one stripe
btrfs: avoid using fixed char array size for tree names

fs/btrfs/file.c | 5 ++++-
fs/btrfs/inode.c | 10 ++++++++++
fs/btrfs/print-tree.c | 2 +-
fs/btrfs/scrub.c | 25 +++++++++++++++++++------
fs/btrfs/super.c | 5 ++++-
5 files changed, 38 insertions(+), 9 deletions(-)