All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kent Overstreet <kent.overstreet@linux.dev>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-bcachefs@vger.kernel.org, linux-fsdevel@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [GIT PULL] bcachefs fixes
Date: Fri, 17 Nov 2023 17:33:25 -0500	[thread overview]
Message-ID: <20231117223325.no4eqblc5zqte5xg@moria.home.lan> (raw)

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

             reply	other threads:[~2023-11-17 22:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-17 22:33 Kent Overstreet [this message]
2023-11-17 22:46 ` [GIT PULL] bcachefs fixes pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231117223325.no4eqblc5zqte5xg@moria.home.lan \
    --to=kent.overstreet@linux.dev \
    --cc=linux-bcachefs@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.