mbox series

[GIT,PULL] bcachefs fixes for 6.12-rc6

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

Pull-request

git://evilpiepirate.org/bcachefs.git tags/bcachefs-2024-10-31

Message

Kent Overstreet Nov. 1, 2024, 4:09 a.m. UTC
Nothing crazy to report...

Test dashboard failures are down 40% from a month ago, critical bug
reports have dropped off dramatically (there are a few still outstanding
I need to get to; apparently there's still a bug with online fsck and
open unlinked files), and we're starting to crank through the syzbot
stuff (also, syzbot seems to have made it past the dumb "whoops, we
forgot to validate that" and is turning up some genuinely interesting
ones).

Been hitting some bugs in compaction (confirmed by users running with it
flipped off), and lately I've been seeing some sporadic test hangs due
to what looks like a block layer writeback throttling bug, ouch.

The following changes since commit a069f014797fdef8757f3adebc1c16416271a599:

  bcachefs: Set bch_inode_unpacked.bi_snapshot in old inode path (2024-10-20 18:09:09 -0400)

are available in the Git repository at:

  git://evilpiepirate.org/bcachefs.git tags/bcachefs-2024-10-31

for you to fetch changes up to 3726a1970bd72419aa7a54f574635f855b98d67a:

  bcachefs: Fix NULL ptr dereference in btree_node_iter_and_journal_peek (2024-10-29 06:34:11 -0400)

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

Various syzbot fixes, and the more notable ones:

- Fix for pointers in an extent overflowing the max (16) on a filesystem
  with many devices: we were creating too many cached copies when moving
  data around. Now, we only create at most one cached copy if there's a
  promote target set.

  Caching will be a bit broken for reflinked data until 6.13: I have
  larger series queued up which significantly improves the plumbing for
  data options down into the extent (bch_extent_rebalance) to fix this.

- Fix for deadlock on -ENOSPC on tiny filesystems

  Allocation from the partial open_bucket list wasn't correctly
  accounting partial open_buckets as free: this fixes the main cause of
  tests timing out in the automated tests.

----------------------------------------------------------------
Gaosheng Cui (1):
      bcachefs: fix possible null-ptr-deref in __bch2_ec_stripe_head_get()

Gianfranco Trad (1):
      bcachefs: Fix invalid shift in validate_sb_layout()

Jeongjun Park (2):
      bcachefs: fix shift oob in alloc_lru_idx_fragmentation
      bcachefs: fix null-ptr-deref in have_stripes()

Kent Overstreet (5):
      bcachefs: Fix UAF in bch2_reconstruct_alloc()
      bcachefs: Fix unhandled transaction restart in fallocate
      bcachefs: Don't keep tons of cached pointers around
      bcachefs: Don't filter partial list buckets in open_buckets_to_text()
      bcachefs: Fix deadlock on -ENOSPC w.r.t. partial open buckets

Piotr Zalewski (2):
      bcachefs: init freespace inited bits to 0 in bch2_fs_initialize
      bcachefs: Fix NULL ptr dereference in btree_node_iter_and_journal_peek

 fs/bcachefs/alloc_background.h |  3 ++
 fs/bcachefs/alloc_foreground.c | 19 ++++++++--
 fs/bcachefs/bcachefs.h         |  1 +
 fs/bcachefs/btree_iter.c       | 13 +++++++
 fs/bcachefs/data_update.c      | 21 ++++++-----
 fs/bcachefs/data_update.h      |  3 +-
 fs/bcachefs/ec.c               |  4 ++
 fs/bcachefs/errcode.h          |  2 +
 fs/bcachefs/extents.c          | 86 ++++++++++++++++++++++++++++++++++--------
 fs/bcachefs/extents.h          |  5 ++-
 fs/bcachefs/fs-io.c            | 17 +++++++--
 fs/bcachefs/move.c             |  2 +-
 fs/bcachefs/recovery.c         | 14 +++++--
 fs/bcachefs/sb-downgrade.c     |  3 ++
 fs/bcachefs/super-io.c         |  5 +++
 15 files changed, 160 insertions(+), 38 deletions(-)

Comments

pr-tracker-bot@kernel.org Nov. 1, 2024, 5:48 p.m. UTC | #1
The pull request you sent on Fri, 1 Nov 2024 00:09:15 -0400:

> git://evilpiepirate.org/bcachefs.git tags/bcachefs-2024-10-31

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/7b83601da470cfdb0a66eb9335fb6ec34d3dd876

Thank you!