[GIT PULL] bcachefs fixes for 6.8-rc2

From: Kent Overstreet
Date: Fri Jan 26 2024 - 18:27:11 EST


Hi Linus, couple bcachefs fixes for you

Cheers,
Kent

The following changes since commit 6613476e225e090cc9aad49be7fa504e290dd33d:

Linux 6.8-rc1 (2024-01-21 14:11:32 -0800)

are available in the Git repository at:

https://evilpiepirate.org/git/bcachefs.git tags/bcachefs-2024-01-26

for you to fetch changes up to d2fda304bb739b97c1a3e46e39700eb49f07a62c:

bcachefs: __lookup_dirent() works in snapshot, not subvol (2024-01-25 20:02:11 -0500)

----------------------------------------------------------------
bcachefs fixes for v6.8-rc2

- fix for REQ_OP_FLUSH usage; this fixes filesystems going read only
with -EOPNOTSUPP from the block layer.

(this really should have gone in with the block layer patch causing
the -EOPNOTSUPP, or should have gone in before).
- fix an allocation in non-sleepable context
- fix one source of srcu lock latency, on devices with terrible discard
latency
- fix a reattach_inode() issue in fsck

----------------------------------------------------------------
Christoph Hellwig (1):
bcachefs: fix incorrect usage of REQ_OP_FLUSH

Kent Overstreet (3):
bcachefs: Add gfp flags param to bch2_prt_task_backtrace()
bcachefs: discard path uses unlock_long()
bcachefs: __lookup_dirent() works in snapshot, not subvol

fs/bcachefs/alloc_background.c | 2 +-
fs/bcachefs/btree_locking.c | 4 ++--
fs/bcachefs/debug.c | 2 +-
fs/bcachefs/fs-io.c | 2 +-
fs/bcachefs/fsck.c | 23 ++++++++++++-----------
fs/bcachefs/journal.c | 2 +-
fs/bcachefs/journal_io.c | 3 ++-
fs/bcachefs/str_hash.h | 22 +++++++++++++++-------
fs/bcachefs/util.c | 10 +++++-----
fs/bcachefs/util.h | 4 ++--
10 files changed, 42 insertions(+), 32 deletions(-)