linux-stable/fs/bcachefs
Kent Overstreet 9054ef2ea9 bcachefs: Run merges at BCH_WATERMARK_btree
This fixes a deadlock where the interior update path during journal
replay ends up doing a ton of merges on the backpointers btree, and
deadlocking.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-04-13 22:49:25 -04:00
..
Kconfig
Makefile bcachefs: Repair pass for scanning for btree nodes 2024-04-03 14:44:18 -04:00
acl.c bcachefs: fix bch2_get_acl() transaction restart handling 2024-04-07 17:15:53 -04:00
acl.h
alloc_background.c bcachefs: Check for bad needs_discard before doing discard 2024-04-02 20:24:00 -04:00
alloc_background.h
alloc_background_format.h
alloc_foreground.c bcachefs: BCH_WATERMARK_interior_updates 2024-04-01 21:14:02 -04:00
alloc_foreground.h
alloc_types.h bcachefs: BCH_WATERMARK_interior_updates 2024-04-01 21:14:02 -04:00
backpointers.c bcachefs: Check for extents that point to same space 2024-04-03 14:46:51 -04:00
backpointers.h bcachefs: Kill bch2_bkey_ptr_data_type() 2024-03-31 20:36:11 -04:00
bbpos.h
bbpos_types.h
bcachefs.h bcachefs: Fix missing write refs in fs fio paths 2024-04-13 22:48:17 -04:00
bcachefs_format.h bcachefs: Standardize helpers for printing enum strs with bounds checks 2024-04-13 22:48:17 -04:00
bcachefs_ioctl.h
bkey.c
bkey.h bcachefs: Check for packed bkeys that are too big 2024-04-13 22:48:16 -04:00
bkey_buf.h
bkey_cmp.h
bkey_methods.c
bkey_methods.h
bkey_sort.c
bkey_sort.h
bkey_types.h
bset.c bcachefs: Fix btree node keys accounting in topology repair path 2024-03-31 20:36:11 -04:00
bset.h bcachefs: Fix btree node keys accounting in topology repair path 2024-03-31 20:36:11 -04:00
btree_cache.c bcachefs: fix race in bch2_btree_node_evict() 2024-04-13 22:48:16 -04:00
btree_cache.h
btree_gc.c bcachefs: Don't scan for btree nodes when we can reconstruct 2024-04-09 00:53:14 -04:00
btree_gc.h
btree_io.c bcachefs: don't queue btree nodes for rewrites during scan 2024-04-13 22:48:17 -04:00
btree_io.h
btree_iter.c bcachefs: Improved topology repair checks 2024-03-31 20:36:11 -04:00
btree_iter.h bcachefs: Bump limit in btree_trans_too_many_iters() 2024-04-04 16:53:12 -04:00
btree_journal_iter.c bcachefs: Fix __bch2_btree_and_journal_iter_init_node_iter() 2024-04-10 22:28:36 -04:00
btree_journal_iter.h bcachefs: bch2_shoot_down_journal_keys() 2024-04-03 14:44:18 -04:00
btree_key_cache.c bcachefs: fix the count of nr_freed_pcpu after changing bc->freed_nonpcpu list 2024-04-07 13:40:35 -04:00
btree_key_cache.h
btree_key_cache_types.h
btree_locking.c bcachefs: Kill read lock dropping in bch2_btree_node_lock_write_nofail() 2024-04-10 22:28:36 -04:00
btree_locking.h
btree_node_scan.c bcachefs: btree node scan: handle encrypted nodes 2024-04-13 22:48:16 -04:00
btree_node_scan.h bcachefs: Repair pass for scanning for btree nodes 2024-04-03 14:44:18 -04:00
btree_node_scan_types.h bcachefs: Repair pass for scanning for btree nodes 2024-04-03 14:44:18 -04:00
btree_trans_commit.c bcachefs: Fix deadlock in journal replay 2024-04-13 22:48:17 -04:00
btree_types.h bcachefs: Bump limit in btree_trans_too_many_iters() 2024-04-04 16:53:12 -04:00
btree_update.c bcachefs: Don't do extent merging before journal replay is finished 2024-03-31 20:36:11 -04:00
btree_update.h
btree_update_interior.c bcachefs: Run merges at BCH_WATERMARK_btree 2024-04-13 22:49:25 -04:00
btree_update_interior.h bcachefs: Further improve btree_update_to_text() 2024-04-04 16:56:44 -04:00
btree_write_buffer.c bcachefs: Fix journal pins in btree write buffer 2024-03-31 20:36:10 -04:00
btree_write_buffer.h
btree_write_buffer_types.h
buckets.c bcachefs: Kill bch2_bkey_ptr_data_type() 2024-03-31 20:36:11 -04:00
buckets.h bcachefs: Standardize helpers for printing enum strs with bounds checks 2024-04-13 22:48:17 -04:00
buckets_types.h
buckets_waiting_for_journal.c
buckets_waiting_for_journal.h
buckets_waiting_for_journal_types.h
chardev.c bcachefs: Disable errors=panic for BCH_IOCTL_FSCK_OFFLINE 2024-04-06 13:50:25 -04:00
chardev.h
checksum.c bcachefs: Standardize helpers for printing enum strs with bounds checks 2024-04-13 22:48:17 -04:00
checksum.h bcachefs: Standardize helpers for printing enum strs with bounds checks 2024-04-13 22:48:17 -04:00
clock.c
clock.h
clock_types.h
compress.c
compress.h bcachefs: Standardize helpers for printing enum strs with bounds checks 2024-04-13 22:48:17 -04:00
darray.c
darray.h
data_update.c bcachefs: Fix rebalance from durability=0 device 2024-04-05 03:05:30 -04:00
data_update.h
debug.c bcachefs: Move btree_updates to debugfs 2024-04-04 16:56:44 -04:00
debug.h
dirent.c
dirent.h
dirent_format.h
disk_groups.c
disk_groups.h
disk_groups_types.h
ec.c bcachefs: Standardize helpers for printing enum strs with bounds checks 2024-04-13 22:48:17 -04:00
ec.h bcachefs: fix unsafety in bch2_stripe_to_text() 2024-04-13 22:48:16 -04:00
ec_format.h
ec_types.h
errcode.c
errcode.h bcachefs: Add checks for invalid snapshot IDs 2024-03-31 20:36:11 -04:00
error.c bcachefs: On emergency shutdown, print out current journal sequence number 2024-04-01 01:07:24 -04:00
error.h bcachefs: Improved topology repair checks 2024-03-31 20:36:11 -04:00
extent_update.c
extent_update.h
extents.c bcachefs: Standardize helpers for printing enum strs with bounds checks 2024-04-13 22:48:17 -04:00
extents.h bcachefs: Repair pass for scanning for btree nodes 2024-04-03 14:44:18 -04:00
extents_format.h
extents_types.h
eytzinger.c bcachefs: Rename struct field swap to prevent macro naming collision 2024-04-06 17:39:12 -04:00
eytzinger.h bcachefs: fix eytzinger0_find_gt() 2024-04-08 22:56:37 -04:00
fifo.h
fs-common.c
fs-common.h
fs-io-buffered.c
fs-io-buffered.h
fs-io-direct.c bcachefs: Fix missing write refs in fs fio paths 2024-04-13 22:48:17 -04:00
fs-io-direct.h
fs-io-pagecache.c
fs-io-pagecache.h
fs-io.c bcachefs: Fix missing write refs in fs fio paths 2024-04-13 22:48:17 -04:00
fs-io.h
fs-ioctl.c
fs-ioctl.h
fs.c bcachefs: fix mount error path 2024-03-31 20:36:10 -04:00
fs.h
fsck.c bcachefs: reconstruct_inode() 2024-04-03 14:46:51 -04:00
fsck.h
inode.c bcachefs: fix misplaced newline in __bch2_inode_unpacked_to_text() 2024-03-31 20:36:10 -04:00
inode.h
inode_format.h
io_misc.c bcachefs: Add error messages to logged ops fns 2024-03-31 20:36:11 -04:00
io_misc.h
io_read.c
io_read.h
io_write.c
io_write.h
io_write_types.h
journal.c
journal.h
journal_io.c bcachefs: Standardize helpers for printing enum strs with bounds checks 2024-04-13 22:48:17 -04:00
journal_io.h
journal_reclaim.c bcachefs: JOURNAL_SPACE_LOW 2024-04-06 13:50:26 -04:00
journal_reclaim.h
journal_sb.c
journal_sb.h
journal_seq_blacklist.c bcachefs: Etyzinger cleanups 2024-04-03 14:44:18 -04:00
journal_seq_blacklist.h
journal_types.h bcachefs: JOURNAL_SPACE_LOW 2024-04-06 13:50:26 -04:00
keylist.c
keylist.h
keylist_types.h
logged_ops.c bcachefs: Logged op errors should be ignored 2024-04-01 00:04:10 -04:00
logged_ops.h
logged_ops_format.h
lru.c
lru.h
mean_and_variance.c
mean_and_variance.h
mean_and_variance_test.c mean_and_variance: Drop always failing tests 2024-04-02 14:45:08 -04:00
migrate.c
migrate.h
move.c
move.h
move_types.h
movinggc.c
movinggc.h
nocow_locking.c
nocow_locking.h
nocow_locking_types.h
opts.c bcachefs: Standardize helpers for printing enum strs with bounds checks 2024-04-13 22:48:17 -04:00
opts.h bcachefs: Standardize helpers for printing enum strs with bounds checks 2024-04-13 22:48:17 -04:00
printbuf.c
printbuf.h
quota.c
quota.h
quota_format.h
quota_types.h
rebalance.c
rebalance.h
rebalance_types.h
recovery.c bcachefs: Don't scan for btree nodes when we can reconstruct 2024-04-09 00:53:14 -04:00
recovery.h bcachefs: Flag btrees with missing data 2024-04-03 14:46:51 -04:00
recovery_passes.c bcachefs: Go rw if running any explicit recovery passes 2024-04-13 22:48:17 -04:00
recovery_passes.h bcachefs: bch2_run_explicit_recovery_pass_persistent() 2024-03-31 20:36:12 -04:00
recovery_passes_types.h bcachefs: Reconstruct missing snapshot nodes 2024-04-03 14:46:51 -04:00
reflink.c bcachefs: Fix repair path for missing indirect extents 2024-03-31 20:36:11 -04:00
reflink.h
reflink_format.h
replicas.c bcachefs: Etyzinger cleanups 2024-04-03 14:44:18 -04:00
replicas.h
replicas_types.h
sb-clean.c
sb-clean.h
sb-counters.c
sb-counters.h
sb-counters_format.h
sb-downgrade.c bcachefs: Split out recovery_passes.c 2024-03-31 20:36:11 -04:00
sb-downgrade.h
sb-errors.c
sb-errors.h
sb-errors_types.h bcachefs: Check for extents that point to same space 2024-04-03 14:46:51 -04:00
sb-members.c
sb-members.h
seqmutex.h
siphash.c
siphash.h
six.c
six.h
snapshot.c bcachefs: Make snapshot_is_ancestor() safe 2024-04-04 16:52:42 -04:00
snapshot.h bcachefs: Reconstruct missing snapshot nodes 2024-04-03 14:46:51 -04:00
snapshot_format.h
str_hash.h
subvolume.c bcachefs: Split out recovery_passes.c 2024-03-31 20:36:11 -04:00
subvolume.h bcachefs: Split out recovery_passes.c 2024-03-31 20:36:11 -04:00
subvolume_format.h
subvolume_types.h bcachefs: Move snapshot table size to struct snapshot_table 2024-03-31 20:36:11 -04:00
super-io.c bcachefs: Flag btrees with missing data 2024-04-03 14:46:51 -04:00
super-io.h
super.c bcachefs: Print shutdown journal sequence number 2024-04-04 16:56:44 -04:00
super.h
super_types.h
sysfs.c bcachefs: Move btree_updates to debugfs 2024-04-04 16:56:44 -04:00
sysfs.h
tests.c bcachefs: fix rand_delete unit test 2024-04-05 16:21:18 -04:00
tests.h
thread_with_file.c
thread_with_file.h
thread_with_file_types.h
time_stats.c
time_stats.h
trace.c
trace.h
two_state_shared_lock.c
two_state_shared_lock.h
util.c bcachefs: Etyzinger cleanups 2024-04-03 14:44:18 -04:00
util.h bcachefs: JOURNAL_SPACE_LOW 2024-04-06 13:50:26 -04:00
varint.c
varint.h
vstructs.h
xattr.c
xattr.h
xattr_format.h