mbox series

[GIT,PULL] bcachefs fixes

Message ID 20231117223325.no4eqblc5zqte5xg@moria.home.lan (mailing list archive)
State New
Headers show
Series [GIT,PULL] bcachefs fixes | expand

Pull-request

https://evilpiepirate.org/git/bcachefs.git tags/bcachefs-2023-11-17

Message

Kent Overstreet Nov. 17, 2023, 10:33 p.m. UTC
Hi Linus, bugfix pull request for you :)

Cheers,
Kent

The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86:

  Linux 6.7-rc1 (2023-11-12 16:19:07 -0800)

are available in the Git repository at:

  https://evilpiepirate.org/git/bcachefs.git tags/bcachefs-2023-11-17

for you to fetch changes up to ba276ce5865b5a22ee96c4c5664bfefd9c1bb593:

  bcachefs: Fix missing locking for dentry->d_parent access (2023-11-16 16:57:19 -0500)

----------------------------------------------------------------
bcachefs bugfixes for 6.7

Lots of small fixes for minor nits and compiler warnings. Bigger items:

 - The six locks lost wakeup is finally fixed: six_read_trylock() was
   checking for the waiting bit before decrementing the number of
   readers - validated the fix with a torture test.

 - Fix for a memory reclaim issue: when needing to reallocate a key
   cache key, we now do our usual GFP_NOWAIT; unlock(); GFP_KERNEL
   dance.

 - Multiple deleted inodes btree fixes

 - Fix an issue in fsck, where i_nlink would be recalculated incorrectly
   for hardlinked files if a snapshot had ever been taken.

 - Kill journal pre-reservations: This is a bigger patch than I would
   normally send at this point, but it deletes code and it fixes some of
   our tests that would sporadically die with the journal getting stuck,
   and it's a performance improvement, too.

----------------------------------------------------------------
Daniel J Blueman (1):
      bcachefs: Fix potential sleeping during mount

Gustavo A. R. Silva (2):
      bcachefs: Use DECLARE_FLEX_ARRAY() helper and fix multiple -Warray-bounds warnings
      bcachefs: Fix multiple -Warray-bounds warnings

Jiapeng Chong (1):
      bcachefs: make bch2_target_to_text_sb static

Kent Overstreet (18):
      bcachefs: Use correct fgf_t type as function argument
      bcachefs: Fix null ptr deref in bch2_backpointer_get_node()
      bcachefs: Guard against insufficient devices to create stripes
      bcachefs: Split out btree_key_cache_types.h
      bcachefs: Run btree key cache shrinker less aggressively
      bcachefs: btree_trans->write_locked
      bcachefs: Make sure to drop/retake btree locks before reclaim
      bcachefs: Check for nonce offset inconsistency in data_update path
      bcachefs: Kill journal pre-reservations
      bcachefs: Fix iterator leak in may_delete_deleted_inode()
      bcachefs: Fix error path in bch2_mount()
      bcachefs: Fix missing transaction commit
      bcachefs: Disable debug log statements
      bcachefs: Don't decrease BTREE_ITER_MAX when LOCKDEP=y
      bcachefs: Fix bch2_check_nlinks() for snapshots
      bcachefs: Fix no_data_io mode checksum check
      bcachefs: six locks: Fix lost wakeup
      bcachefs: Fix missing locking for dentry->d_parent access

 fs/bcachefs/backpointers.c          |  10 +--
 fs/bcachefs/bcachefs.h              |   2 +-
 fs/bcachefs/btree_iter.c            |   2 -
 fs/bcachefs/btree_key_cache.c       |  37 ++++----
 fs/bcachefs/btree_key_cache_types.h |  34 ++++++++
 fs/bcachefs/btree_trans_commit.c    | 169 ++++++++++++++++++++----------------
 fs/bcachefs/btree_types.h           |  35 +-------
 fs/bcachefs/btree_update_interior.c |  30 -------
 fs/bcachefs/btree_update_interior.h |   1 -
 fs/bcachefs/data_update.c           |  28 ++++++
 fs/bcachefs/disk_groups.c           |   4 +-
 fs/bcachefs/ec.c                    |  16 +++-
 fs/bcachefs/fs-io-pagecache.c       |   2 +-
 fs/bcachefs/fs-io-pagecache.h       |   2 +-
 fs/bcachefs/fs.c                    |   8 +-
 fs/bcachefs/fsck.c                  |   2 +-
 fs/bcachefs/inode.c                 |   8 +-
 fs/bcachefs/io_write.c              |   2 +-
 fs/bcachefs/journal.c               |  31 -------
 fs/bcachefs/journal.h               |  98 ---------------------
 fs/bcachefs/journal_io.c            |   7 ++
 fs/bcachefs/journal_reclaim.c       |  42 ++++-----
 fs/bcachefs/journal_types.h         |  26 ------
 fs/bcachefs/six.c                   |   7 +-
 fs/bcachefs/subvolume_types.h       |   2 +-
 fs/bcachefs/trace.h                 |  11 +--
 fs/bcachefs/xattr.c                 |   9 ++
 27 files changed, 248 insertions(+), 377 deletions(-)
 create mode 100644 fs/bcachefs/btree_key_cache_types.h

Comments

pr-tracker-bot@kernel.org Nov. 17, 2023, 10:46 p.m. UTC | #1
The pull request you sent on Fri, 17 Nov 2023 17:33:25 -0500:

> https://evilpiepirate.org/git/bcachefs.git tags/bcachefs-2023-11-17

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/791c8ab095f71327899023223940dd52257a4173

Thank you!