[GIT PULL] bcachefs fixes for 6.10-rc8

From: Kent Overstreet
Date: Wed Jul 10 2024 - 12:44:47 EST


Hi Linus, fresh batch of bcachefs fixes for you.

Cheers,
Kent

The following changes since commit 64cd7de998f393e73981e2aa4ee13e4e887f01ea:

bcachefs: Fix kmalloc bug in __snapshot_t_mut (2024-06-25 20:51:14 -0400)

are available in the Git repository at:

https://evilpiepirate.org/git/bcachefs.git tags/bcachefs-2024-07-10

for you to fetch changes up to 7d7f71cd8763a296d02dff9514447aa3de199c47:

bcachefs: Add missing bch2_trans_begin() (2024-07-10 09:53:39 -0400)

----------------------------------------------------------------
bcachefs fixes for 6.10-rc8

- Switch some asserts to WARN()
- Fix a few "transaction not locked" asserts in the data read retry
paths and backpointers gc
- Fix a race that would cause the journal to get stuck on a flush commit
- Add missing fsck checks for the fragmentation LRU
- The usual assorted ssorted syzbot fixes

----------------------------------------------------------------
Kent Overstreet (21):
bcachefs: Switch online_reserved shutdown assert to WARN()
bcachefs: Delete old faulty bch2_trans_unlock() call
bcachefs: Change bch2_fs_journal_stop() BUG_ON() to warning
bcachefs: Fix shift greater than integer size
bcachefs: Don't use the new_fs() bucket alloc path on an initialized fs
bcachefs: Fix bch2_read_retry_nodecode()
bcachefs: Fix loop restart in bch2_btree_transactions_read()
bcachefs: Add missing printbuf_tabstops_reset() calls
bcachefs: bch2_btree_write_buffer_maybe_flush()
bcachefs: add check for missing fragmentation in check_alloc_to_lru_ref()
bcachefs: Repair fragmentation_lru in alloc_write_key()
bcachefs: io clock: run timer fns under clock lock
bcachefs: Fix journal getting stuck on a flush commit
closures: fix closure_sync + closure debugging
bcachefs: Fix bch2_inode_insert() race path for tmpfiles
bcachefs: Fix undefined behaviour in eytzinger1_first()
bcachefs: Log mount failure error code
bcachefs: bch2_data_update_to_text()
bcachefs: Warn on attempting a move with no replicas
bcachefs: Fix missing error check in journal_entry_btree_keys_validate()
bcachefs: Add missing bch2_trans_begin()

Youling Tang (1):
bcachefs: Mark bch_inode_info as SLAB_ACCOUNT

fs/bcachefs/alloc_background.c | 48 +++++++++++++--------------
fs/bcachefs/alloc_foreground.c | 2 ++
fs/bcachefs/backpointers.c | 70 +++++++++++++++-------------------------
fs/bcachefs/bkey.c | 5 +--
fs/bcachefs/bkey.h | 7 ++++
fs/bcachefs/btree_gc.c | 24 +++++++-------
fs/bcachefs/btree_write_buffer.c | 37 +++++++++++++++++++++
fs/bcachefs/btree_write_buffer.h | 3 ++
fs/bcachefs/clock.c | 7 ++--
fs/bcachefs/data_update.c | 44 +++++++++++++++++++++++++
fs/bcachefs/data_update.h | 5 +++
fs/bcachefs/debug.c | 12 +++----
fs/bcachefs/eytzinger.h | 6 ++--
fs/bcachefs/fs.c | 11 ++++++-
fs/bcachefs/io_read.c | 4 ++-
fs/bcachefs/journal.c | 18 ++++++-----
fs/bcachefs/journal.h | 2 +-
fs/bcachefs/journal_io.c | 12 ++++---
fs/bcachefs/lru.c | 39 ++++++++++++++++++++++
fs/bcachefs/lru.h | 3 ++
fs/bcachefs/move.c | 25 --------------
fs/bcachefs/sb-errors_format.h | 3 +-
fs/bcachefs/super.c | 11 ++++---
include/linux/closure.h | 7 ++++
lib/closure.c | 3 ++
25 files changed, 266 insertions(+), 142 deletions(-)