[GIT PULL] Btrfs fixes for 6.4-rc4

From: David Sterba
Date: Fri May 26 2023 - 08:55:28 EST


Hi,

a few more fixes, please pull thanks.

- handle memory allocation error in checksumming helper (reported by
syzbot)

- fix lockdep splat when aborting a transaction, add NOFS protection
around invalidate_inode_pages2 that could allocate with GFP_KERNEL

- reduce chances to hit an ENOSPC during scrub with RAID56 profiles

----------------------------------------------------------------
The following changes since commit 1d6a4fc85717677e00fefffd847a50fc5928ce69:

btrfs: make clear_cache mount option to rebuild FST without disabling it (2023-05-10 14:51:27 +0200)

are available in the Git repository at:

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

for you to fetch changes up to 597441b3436a43011f31ce71dc0a6c0bf5ce958a:

btrfs: use nofs when cleaning up aborted transactions (2023-05-17 13:08:28 +0200)

----------------------------------------------------------------
Johannes Thumshirn (1):
btrfs: handle memory allocation failure in btrfs_csum_one_bio

Josef Bacik (1):
btrfs: use nofs when cleaning up aborted transactions

Qu Wenruo (1):
btrfs: scrub: try harder to mark RAID56 block groups read-only

fs/btrfs/block-group.c | 14 ++++++++++++--
fs/btrfs/disk-io.c | 9 +++++++++
fs/btrfs/file-item.c | 4 +++-
fs/btrfs/scrub.c | 9 ++++++++-
4 files changed, 32 insertions(+), 4 deletions(-)