[GIT PULL] Btrfs fixes for 6.5-rc6

From: David Sterba
Date: Sat Aug 12 2023 - 15:20:39 EST


Hi,

more fixes, some of them going back to older releases and there are
fixes for hangs in stress tests regarding space caching.

- space caching hangs fixes to progress stracking, found by test
generic/475

- writeback fixes, write pages in integrity mode and skip writing pages
that have been written meanwhile

- properly clear end of extent range after an error

- relocation fixes
- fix race betwen qgroup tree creation and relocation
- detect and report invalid reloc roots

Please pull, thanks.

----------------------------------------------------------------
The following changes since commit b28ff3a7d7e97456fd86b68d24caa32e1cfa7064:

btrfs: check for commit error at btrfs_attach_transaction_barrier() (2023-07-26 13:57:47 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/for-6.5-rc5-tag

for you to fetch changes up to 92fb94b69c6accf1e49fff699640fa0ce03dc910:

btrfs: set cache_block_group_error if we find an error (2023-08-10 17:16:45 +0200)

----------------------------------------------------------------
Christoph Hellwig (3):
btrfs: don't stop integrity writeback too early
btrfs: don't wait for writeback on clean pages in extent_write_cache_pages
btrfs: properly clear end of the unreserved range in cow_file_range

Josef Bacik (2):
btrfs: wait for actual caching progress during allocation
btrfs: set cache_block_group_error if we find an error

Qu Wenruo (3):
btrfs: avoid race between qgroup tree creation and relocation
btrfs: exit gracefully if reloc roots don't match
btrfs: reject invalid reloc tree root keys with stack dump

fs/btrfs/block-group.c | 17 +++++++++++++++--
fs/btrfs/block-group.h | 2 ++
fs/btrfs/disk-io.c | 13 ++++++++++++-
fs/btrfs/extent-tree.c | 5 ++++-
fs/btrfs/extent_io.c | 13 ++++++++++---
fs/btrfs/inode.c | 10 +++++-----
fs/btrfs/relocation.c | 45 +++++++++++++++++++++++++++++++++++++--------
fs/btrfs/tree-checker.c | 14 ++++++++++++++
8 files changed, 99 insertions(+), 20 deletions(-)