[GIT PULL] bcachefs fixes for 6.14-rc6
From: Kent Overstreet
Date: Thu Mar 06 2025 - 18:25:46 EST
The following changes since commit eb54d2695b57426638fed0ec066ae17a18c4426c:
bcachefs: Fix truncate sometimes failing and returning 1 (2025-02-26 19:31:05 -0500)
are available in the Git repository at:
git://evilpiepirate.org/bcachefs.git tags/bcachefs-2025-03-06
for you to fetch changes up to 8ba73f53dc5b7545776e09e6982115dcbcbabec4:
bcachefs: copygc now skips non-rw devices (2025-03-06 18:15:01 -0500)
----------------------------------------------------------------
bcachefs fixes for 6.14-rc6
- Fix a compatibility issue: we shouldn't be setting incompat feature
bits unless explicitly requested
- Fix another bug where the journal alloc/resize path could spuriously
fail with -BCH_ERR_open_buckets_empty
- Copygc shouldn't run on read-only devices: fragmentation isn't an
issue if we're not currently writing to a given device, and it may not
have anywhere to move the data to.
----------------------------------------------------------------
Kent Overstreet (3):
bcachefs: Don't set BCH_FEATURE_incompat_version_field unless requested
bcachefs: Fix bch2_dev_journal_alloc() spuriously failing
bcachefs: copygc now skips non-rw devices
fs/bcachefs/journal.c | 59 +++++++++++++++++++++++++++-----------------------
fs/bcachefs/movinggc.c | 25 ++++++++++-----------
fs/bcachefs/super-io.c | 24 +++++++++++++-------
fs/bcachefs/super-io.h | 11 ++++------
4 files changed, 64 insertions(+), 55 deletions(-)