[GIT PULL] bcachefs fixes for 6.11-rc8/final
From: Kent Overstreet
Date: Mon Sep 09 2024 - 09:57:26 EST
this closes out the main critical bug users have been hitting
now to dig through the bug tracker some more...
The following changes since commit 53f6619554fb1edf8d7599b560d44dbea085c730:
bcachefs: BCH_SB_MEMBER_INVALID (2024-09-03 20:43:14 -0400)
are available in the Git repository at:
git://evilpiepirate.org/bcachefs.git tags/bcachefs-2024-09-09
for you to fetch changes up to 16005147cca41a0f67b5def2a4656286f8c0db4a:
bcachefs: Don't delete open files in online fsck (2024-09-09 09:41:47 -0400)
----------------------------------------------------------------
bcachefs fixes for 6.11-rc8
- fix ca->io_ref usage; analagous to previous patch doing that for main
discard path
- cond_resched() in __journal_keys_sort(), cutting down on "hung task"
warnings when journal is big
- rest of basic BCH_SB_MEMBER_INVALID support
- and the critical one: don't delete open files in online fsck, this was
causing the "dirent points to inode that doesn't point back"
inconsistencies some users were seeing
----------------------------------------------------------------
Kent Overstreet (6):
bcachefs: Fix ca->io_ref usage
bcachefs: Add a cond_resched() to __journal_keys_sort()
bcachefs: Simplify bch2_bkey_drop_ptrs()
bcachefs: More BCH_SB_MEMBER_INVALID support
bcachefs: fix btree_key_cache sysfs knob
bcachefs: Don't delete open files in online fsck
fs/bcachefs/alloc_background.c | 24 ++++++++++++------------
fs/bcachefs/btree_journal_iter.c | 2 ++
fs/bcachefs/buckets.c | 15 ++++++++-------
fs/bcachefs/ec.h | 4 +++-
fs/bcachefs/extents.c | 26 ++++++++++----------------
fs/bcachefs/extents.h | 23 +++++++++--------------
fs/bcachefs/fs.c | 8 ++++++++
fs/bcachefs/fs.h | 7 +++++++
fs/bcachefs/fsck.c | 18 ++++++++++++++++++
fs/bcachefs/replicas.c | 2 +-
fs/bcachefs/sysfs.c | 2 +-
11 files changed, 79 insertions(+), 52 deletions(-)