Skip to content

Commit c9d0117

Browse files
committed
Merge tag 'bcachefs-2023-11-5' of https://evilpiepirate.org/git/bcachefs
Pull more bcachefs updates from Kent Overstreet: "Here's the second big bcachefs pull request. This brings your tree up to date with my master branch, which is what existing bcachefs users are currently running. New features: - rebalance_work btree (and metadata version 1.3): the rebalance thread no longer has to scan to find extents that need processing - big scalability improvement. - sb_errors superblock section: this adds counters for each fsck error type, since filesystem creation, along with the date of the most recent error. It'll get us better bug reports (since users do not typically report errors that fsck was able to fix), and I might add telemetry for this in the future. Fixes include: - multiple snapshot deletion fixes - members_v2 fixups - deleted_inodes btree fixes - copygc thread no longer spins when a device is full but has no fragmented buckets (i.e. rebalance needs to move data around instead) - a fix for a memory reclaim issue with the btree key cache: we're now careful not to hold the srcu read lock that blocks key cache reclaim for too long - an early allocator locking fix, from Brian - endianness fixes, from Brian - CONFIG_BCACHEFS_DEBUG_TRANSACTIONS no longer defaults to y, a big performance improvement on multithreaded workloads" * tag 'bcachefs-2023-11-5' of https://evilpiepirate.org/git/bcachefs: (70 commits) bcachefs: Improve stripe checksum error message bcachefs: Simplify, fix bch2_backpointer_get_key() bcachefs: kill thing_it_points_to arg to backpointer_not_found() bcachefs: bch2_ec_read_extent() now takes btree_trans bcachefs: bch2_stripe_to_text() now prints ptr gens bcachefs: Don't iterate over journal entries just for btree roots bcachefs: Break up bch2_journal_write() bcachefs: Replace ERANGE with private error codes bcachefs: bkey_copy() is no longer a macro bcachefs: x-macro-ify inode flags enum bcachefs: Convert bch2_fs_open() to darray bcachefs: Move __bch2_members_v2_get_mut to sb-members.h bcachefs: bch2_prt_datetime() bcachefs: CONFIG_BCACHEFS_DEBUG_TRANSACTIONS no longer defaults to y bcachefs: Add a comment for BTREE_INSERT_NOJOURNAL usage bcachefs: rebalance_work btree is not a snapshots btree bcachefs: Add missing printk newlines bcachefs: Fix recovery when forced to use JSET_NO_FLUSH journal entry bcachefs: .get_parent() should return an error pointer bcachefs: Fix bch2_delete_dead_inodes() ...
2 parents be3ca57 + c7046ed commit c9d0117

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+3982
-2296
lines changed

fs/bcachefs/Kconfig

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ config BCACHEFS_FS
2424
select XXHASH
2525
select SRCU
2626
select SYMBOLIC_ERRNAME
27-
select MEAN_AND_VARIANCE
2827
help
2928
The bcachefs filesystem - a modern, copy on write filesystem, with
3029
support for multiple devices, compression, checksumming, etc.
@@ -42,7 +41,6 @@ config BCACHEFS_POSIX_ACL
4241
config BCACHEFS_DEBUG_TRANSACTIONS
4342
bool "bcachefs runtime info"
4443
depends on BCACHEFS_FS
45-
default y
4644
help
4745
This makes the list of running btree transactions available in debugfs.
4846

@@ -78,7 +76,7 @@ config BCACHEFS_NO_LATENCY_ACCT
7876
config MEAN_AND_VARIANCE_UNIT_TEST
7977
tristate "mean_and_variance unit tests" if !KUNIT_ALL_TESTS
8078
depends on KUNIT
81-
select MEAN_AND_VARIANCE
79+
depends on BCACHEFS_FS
8280
default KUNIT_ALL_TESTS
8381
help
8482
This option enables the kunit tests for mean_and_variance module.

fs/bcachefs/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ bcachefs-y := \
7070
reflink.o \
7171
replicas.o \
7272
sb-clean.o \
73+
sb-errors.o \
7374
sb-members.o \
7475
siphash.o \
7576
six.o \

0 commit comments

Comments
 (0)