[GIT PULL] Btrfs fixes for 6.11-rc4

From: David Sterba
Date: Wed Aug 14 2024 - 20:38:37 EST


Hi,

please pull the following branch, with stable fixes and one regression
fix. Thanks.

- extend tree-checker verification of directory item type

- fix regression in page/folio and extent state tracking in xarray, the
dirty status can get out of sync and can cause problems e.g. a hang

- in send, detect last extent and allow to clone it instead of sending
it as write, reduces amount of data transferred in the stream

- fix checking extent references when cleaning deleted subvolumes

- fix one more case in the extent map shrinker, let it run only in the
kswapd context so it does not cause latency spikes during other
operations

----------------------------------------------------------------
The following changes since commit 7c626ce4bae1ac14f60076d00eafe71af30450ba:

Linux 6.11-rc3 (2024-08-11 14:27:14 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 6252690f7e1b173b86a4c27dfc046b351ab423e7:

btrfs: fix invalid mapping of extent xarray state (2024-08-13 15:36:57 +0200)

----------------------------------------------------------------
Filipe Manana (2):
btrfs: only run the extent map shrinker from kswapd tasks
btrfs: send: allow cloning non-aligned extent if it ends at i_size

Josef Bacik (1):
btrfs: check delayed refs when we're checking if a ref exists

Naohiro Aota (1):
btrfs: fix invalid mapping of extent xarray state

Qu Wenruo (1):
btrfs: tree-checker: reject BTRFS_FT_UNKNOWN dir type

fs/btrfs/delayed-ref.c | 67 +++++++++++++++++++++++++++++++++++++++++++++++++
fs/btrfs/delayed-ref.h | 2 ++
fs/btrfs/extent-tree.c | 51 ++++++++++++++++++++++++++++++++-----
fs/btrfs/extent_io.c | 14 +++++------
fs/btrfs/extent_map.c | 22 +++++-----------
fs/btrfs/send.c | 52 ++++++++++++++++++++++++++++----------
fs/btrfs/super.c | 10 ++++++++
fs/btrfs/tree-checker.c | 5 ++--
8 files changed, 179 insertions(+), 44 deletions(-)