mbox series

[GIT,PULL] bcachefs fixes for 6.12

Message ID seaiutwvlv35bllqy55ajospsaiynelevpcmov7kax4txomo3c@uam4pyhzmzuu (mailing list archive)
State New
Headers show
Series [GIT,PULL] bcachefs fixes for 6.12 | expand

Pull-request

git://evilpiepirate.org/bcachefs.git tags/bcachefs-2024-11-13

Message

Kent Overstreet Nov. 14, 2024, 3:52 a.m. UTC
test dashboard is looking good, rebasing to rc6 fixed the crazy hangs we
were seeing on rc1...

(and they were crazy; processes were getting stuck on inode lock when
lockdep said nothing was holding it).

this fixes one minor regression from the btree cache fixes in the last
pull request (in the scan_for_btree_nodes repair path) - and the
shutdown path fix is the big one here, in terms of bugs closed.

so I would say things are slowing down here, except now that I've got an
easy way to run syzbot reproducers I'm noticing that we're losing a lot
of coverage because mainly we're mostly bailing out when we see
something corrupt. When self healing is flipped on for more stuff
there's probably going to be another flood of syzbot stuff...

The following changes since commit 8440da933127fc5330c3d1090cdd612fddbc40eb:

  bcachefs: Fix UAF in __promote_alloc() error path (2024-11-07 16:48:21 -0500)

are available in the Git repository at:

  git://evilpiepirate.org/bcachefs.git tags/bcachefs-2024-11-13

for you to fetch changes up to 840c2fbcc5cd33ba8fab180f09da0bb7f354ea71:

  bcachefs: Fix assertion pop in bch2_ptr_swab() (2024-11-12 03:46:57 -0500)

----------------------------------------------------------------
bcachefs fixes for 6.12

- Assorted tiny syzbot fixes
- Shutdown path fix: "bch2_btree_write_buffer_flush_going_ro()"

  The shutdown path wasn't flushing the btree write buffer, leading to
  shutting down while we still had operations in flight. This fixes a
  whole slew of syzbot bugs, and undoubtedly other strange heisenbugs.

----------------------------------------------------------------
Kent Overstreet (9):
      bcachefs: bch2_btree_write_buffer_flush_going_ro()
      bcachefs: Fix bch_member.btree_bitmap_shift validation
      bcachefs: Fix missing validation for bch_backpointer.level
      bcachefs: Fix validate_bset() repair path
      bcachefs: Fix hidden btree errors when reading roots
      bcachefs: Fix assertion pop in topology repair
      bcachefs: Allow for unknown key types in backpointers fsck
      bcachefs: Fix journal_entry_dev_usage_to_text() overrun
      bcachefs: Fix assertion pop in bch2_ptr_swab()

 fs/bcachefs/backpointers.c          | 17 ++++++++++++-----
 fs/bcachefs/btree_gc.c              |  2 +-
 fs/bcachefs/btree_io.c              |  6 +-----
 fs/bcachefs/btree_update_interior.c |  3 ++-
 fs/bcachefs/btree_write_buffer.c    | 30 +++++++++++++++++++++++++++---
 fs/bcachefs/btree_write_buffer.h    |  1 +
 fs/bcachefs/extents.c               |  5 ++++-
 fs/bcachefs/journal_io.c            |  3 +++
 fs/bcachefs/recovery_passes.c       |  6 ++++++
 fs/bcachefs/recovery_passes_types.h |  1 +
 fs/bcachefs/sb-errors_format.h      |  6 +++++-
 fs/bcachefs/sb-members.c            |  4 ++--
 fs/bcachefs/sb-members_format.h     |  6 ++++++
 fs/bcachefs/super.c                 |  1 +
 14 files changed, 72 insertions(+), 19 deletions(-)