linux/fs/bcachefs
Kent Overstreet c692399529 bcachefs: don't call bch2_bucket_seq_cleanup from journal_buf_switch
journal_buf_switch is called from the foreground when getting a journal
reservation and thus is somewhat latency sensitive;
bch2_bucket_seq_cleanup has to run infrequently but is a bit expensive
when it does run.

Call it from the journal write path instead, and punt the journal write
to worqueue context.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-10-22 17:08:08 -04:00
..
acl.c bcachefs: Use ei_update_lock consistently 2023-10-22 17:08:07 -04:00
acl.h
alloc_types.h
alloc.c
alloc.h
bcachefs_format.h
bcachefs_ioctl.h
bcachefs.h bcachefs: don't call bch2_bucket_seq_cleanup from journal_buf_switch 2023-10-22 17:08:08 -04:00
bkey_methods.c
bkey_methods.h
bkey.c
bkey.h
bset.c
bset.h
btree_cache.c bcachefs: trace transaction restarts 2023-10-22 17:08:07 -04:00
btree_cache.h
btree_gc.c bcachefs: Fix device add 2023-10-22 17:08:07 -04:00
btree_gc.h
btree_io.c
btree_io.h
btree_iter.c bcachefs: trace transaction restarts 2023-10-22 17:08:07 -04:00
btree_iter.h bcachefs: trace transaction restarts 2023-10-22 17:08:07 -04:00
btree_locking.h
btree_types.h bcachefs: trace transaction restarts 2023-10-22 17:08:07 -04:00
btree_update_interior.c bcachefs: Fix a use after free in the journal code 2023-10-22 17:08:07 -04:00
btree_update_interior.h
btree_update_leaf.c bcachefs: Fix an assertion 2023-10-22 17:08:07 -04:00
btree_update.h bcachefs: bch2_trans_update() now takes struct btree_insert_entry 2023-10-22 17:08:07 -04:00
buckets_types.h bcachefs: don't call bch2_bucket_seq_cleanup from journal_buf_switch 2023-10-22 17:08:08 -04:00
buckets.c bcachefs: don't call bch2_bucket_seq_cleanup from journal_buf_switch 2023-10-22 17:08:08 -04:00
buckets.h
chardev.c
chardev.h
checksum.c
checksum.h
clock_types.h
clock.c
clock.h
compress.c
compress.h
debug.c
debug.h
dirent.c bcachefs: bch2_trans_update() now takes struct btree_insert_entry 2023-10-22 17:08:07 -04:00
dirent.h
disk_groups.c
disk_groups.h
error.c
error.h
extents_types.h
extents.c
extents.h
eytzinger.h
fifo.h bcachefs: Fix a use after free in the journal code 2023-10-22 17:08:07 -04:00
fs-io.c bcachefs: Fix mtime/ctime updates 2023-10-22 17:08:07 -04:00
fs-io.h
fs-ioctl.c bcachefs: Fix mtime/ctime updates 2023-10-22 17:08:07 -04:00
fs-ioctl.h bcachefs: Fix mtime/ctime updates 2023-10-22 17:08:07 -04:00
fs.c bcachefs: fix rename + fsync 2023-10-22 17:08:07 -04:00
fs.h bcachefs: Fix mtime/ctime updates 2023-10-22 17:08:07 -04:00
fsck.c bcachefs: Convert raw uses of bch2_btree_iter_link() to new transactions 2023-10-22 17:08:07 -04:00
fsck.h
inode.c bcachefs: bch2_trans_update() now takes struct btree_insert_entry 2023-10-22 17:08:07 -04:00
inode.h
io_types.h
io.c
io.h
journal_io.c bcachefs: don't call bch2_bucket_seq_cleanup from journal_buf_switch 2023-10-22 17:08:08 -04:00
journal_io.h
journal_reclaim.c bcachefs: Fix a use after free in the journal code 2023-10-22 17:08:07 -04:00
journal_reclaim.h bcachefs: Fix a use after free in the journal code 2023-10-22 17:08:07 -04:00
journal_seq_blacklist.c
journal_seq_blacklist.h
journal_types.h bcachefs: Fix a use after free in the journal code 2023-10-22 17:08:07 -04:00
journal.c bcachefs: don't call bch2_bucket_seq_cleanup from journal_buf_switch 2023-10-22 17:08:08 -04:00
journal.h
Kconfig
keylist_types.h
keylist.c
keylist.h
Makefile
migrate.c
migrate.h
move_types.h
move.c
move.h
movinggc.c
movinggc.h
opts.c
opts.h
quota_types.h
quota.c
quota.h
rebalance_types.h
rebalance.c
rebalance.h
recovery.c
recovery.h
replicas.c
replicas.h
siphash.c
siphash.h
six.c
six.h
str_hash.h bcachefs: bch2_trans_update() now takes struct btree_insert_entry 2023-10-22 17:08:07 -04:00
super_types.h
super-io.c
super-io.h
super.c bcachefs: add bch_verbose() statements for shutdown 2023-10-22 17:08:07 -04:00
super.h
sysfs.c
sysfs.h
tests.c
tests.h
trace.c
trace.h
util.c
util.h
vstructs.h
xattr.c bcachefs: Fix mtime/ctime updates 2023-10-22 17:08:07 -04:00
xattr.h