1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-24 09:13:20 -05:00
linux/fs/bcachefs
Kent Overstreet 637de729fc bcachefs: Ensure btree node cache is not more than half dirty
Tweak journal reclaim to ensure the btree node cache isn't more
than half dirty so that memory reclaim can always make progress - the
same as we do for the btree key cache.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2023-10-22 17:09:52 -04:00
..
acl.c bcachefs: Assorted checkpatch fixes 2023-10-22 17:09:44 -04:00
acl.h
alloc_background.c bcachefs: Improve invalidate_one_bucket() error messages 2023-10-22 17:09:52 -04:00
alloc_background.h bcachefs: Change bkey_invalid() rw param to flags 2023-10-22 17:09:52 -04:00
alloc_foreground.c bcachefs: Improved nocow locking 2023-10-22 17:09:52 -04:00
alloc_foreground.h bcachefs: Better inlining in core write path 2023-10-22 17:09:49 -04:00
alloc_types.h bcachefs: Nocow support 2023-10-22 17:09:51 -04:00
backpointers.c bcachefs: Change bkey_invalid() rw param to flags 2023-10-22 17:09:52 -04:00
backpointers.h bcachefs: Change bkey_invalid() rw param to flags 2023-10-22 17:09:52 -04:00
bbpos.h bcachefs: Run bch2_check_backpointers_to_extents() in multiple passes if necessary 2023-10-22 17:09:51 -04:00
bcachefs.h bcachefs: Improved nocow locking 2023-10-22 17:09:52 -04:00
bcachefs_format.h bcachefs: Rework lru btree 2023-10-22 17:09:52 -04:00
bcachefs_ioctl.h bcachefs: Convert to __packed and __aligned 2023-10-22 17:09:45 -04:00
bkey.c bcachefs: Add some unlikely() annotations 2023-10-22 17:09:48 -04:00
bkey.h bcachefs: bkey_min(), bkey_max() 2023-10-22 17:09:48 -04:00
bkey_buf.h bcachefs: Move bkey bkey_unpack_key() to bkey.h 2023-10-22 17:09:45 -04:00
bkey_cmp.h bcachefs: bch2_bkey_cmp_packed_inlined() 2023-10-22 17:09:45 -04:00
bkey_methods.c bcachefs: Change bkey_invalid() rw param to flags 2023-10-22 17:09:52 -04:00
bkey_methods.h bcachefs: BKEY_INVALID_FROM_JOURNAL 2023-10-22 17:09:52 -04:00
bkey_sort.c bcachefs: Btree split improvement 2023-10-22 17:09:46 -04:00
bkey_sort.h
bset.c bcachefs: New bpos_cmp(), bkey_cmp() replacements 2023-10-22 17:09:47 -04:00
bset.h bcachefs: Btree split improvement 2023-10-22 17:09:46 -04:00
btree_cache.c bcachefs: Use six_lock_ip() 2023-10-22 17:09:50 -04:00
btree_cache.h bcachefs: Move bkey bkey_unpack_key() to bkey.h 2023-10-22 17:09:45 -04:00
btree_gc.c bcachefs: Better inlining for bch2_alloc_to_v4_mut 2023-10-22 17:09:49 -04:00
btree_gc.h
btree_io.c bcachefs: Nocow support 2023-10-22 17:09:51 -04:00
btree_io.h bcachefs: Plumb saw_error through to btree_err() 2023-10-22 17:09:48 -04:00
btree_iter.c bcachefs: Btree write buffer 2023-10-22 17:09:50 -04:00
btree_iter.h bcachefs: Use for_each_btree_key_upto() more consistently 2023-10-22 17:09:50 -04:00
btree_key_cache.c bcachefs: Kill trans->flags 2023-10-22 17:09:50 -04:00
btree_key_cache.h bcachefs: Kill trans->flags 2023-10-22 17:09:50 -04:00
btree_locking.c bcachefs: trans->notrace_relock_fail 2023-10-22 17:09:50 -04:00
btree_locking.h bcachefs: Use six_lock_ip() 2023-10-22 17:09:50 -04:00
btree_types.h bcachefs: Btree write buffer 2023-10-22 17:09:50 -04:00
btree_update.h bcachefs: Btree write buffer 2023-10-22 17:09:50 -04:00
btree_update_interior.c bcachefs: Debug mode for c->writes references 2023-10-22 17:09:50 -04:00
btree_update_interior.h bcachefs: Improved btree write statistics 2023-10-22 17:09:45 -04:00
btree_update_leaf.c bcachefs: Btree write buffer 2023-10-22 17:09:50 -04:00
btree_write_buffer.c bcachefs: Btree write buffer 2023-10-22 17:09:50 -04:00
btree_write_buffer.h bcachefs: Btree write buffer 2023-10-22 17:09:50 -04:00
btree_write_buffer_types.h bcachefs: Btree write buffer 2023-10-22 17:09:50 -04:00
buckets.c bcachefs: KEY_TYPE_inode_v3, metadata_version_inode_v3 2023-10-22 17:09:51 -04:00
buckets.h bcachefs: New on disk format: Backpointers 2023-10-22 17:09:50 -04:00
buckets_types.h bcachefs: Copygc now uses backpointers 2023-10-22 17:09:51 -04:00
buckets_waiting_for_journal.c
buckets_waiting_for_journal.h
buckets_waiting_for_journal_types.h
chardev.c bcachefs: Fix BCH_IOCTL_DISK_SET_STATE 2023-10-22 17:09:47 -04:00
chardev.h
checksum.c bcachefs: Inlining improvements 2023-10-22 17:09:45 -04:00
checksum.h bcachefs: Nocow support 2023-10-22 17:09:51 -04:00
clock.c
clock.h
clock_types.h
compress.c bcachefs: __bio_compress() fix up. 2023-10-22 17:09:44 -04:00
compress.h
counters.c
counters.h
darray.h
data_update.c bcachefs: don't block reads if we're promoting 2023-10-22 17:09:52 -04:00
data_update.h bcachefs: Fix deadlock on nocow locks in data move path 2023-10-22 17:09:52 -04:00
debug.c bcachefs: debug: Fix some locking bugs 2023-10-22 17:09:49 -04:00
debug.h
dirent.c bcachefs: Change bkey_invalid() rw param to flags 2023-10-22 17:09:52 -04:00
dirent.h bcachefs: Change bkey_invalid() rw param to flags 2023-10-22 17:09:52 -04:00
disk_groups.c bcachefs: More errcode cleanup 2023-10-22 17:09:48 -04:00
disk_groups.h
ec.c bcachefs: Change bkey_invalid() rw param to flags 2023-10-22 17:09:52 -04:00
ec.h bcachefs: Change bkey_invalid() rw param to flags 2023-10-22 17:09:52 -04:00
ec_types.h bcachefs: Fix an include 2023-10-22 17:09:47 -04:00
errcode.c bcachefs: More style fixes 2023-10-22 17:09:45 -04:00
errcode.h bcachefs: don't block reads if we're promoting 2023-10-22 17:09:52 -04:00
error.c bcachefs: Improve btree node read error path 2023-10-22 17:09:50 -04:00
error.h bcachefs: Dump transaction updates before panicing 2023-10-22 17:09:49 -04:00
extent_update.c bcachefs: Use for_each_btree_key_upto() more consistently 2023-10-22 17:09:50 -04:00
extent_update.h
extents.c bcachefs: Change bkey_invalid() rw param to flags 2023-10-22 17:09:52 -04:00
extents.h bcachefs: Change bkey_invalid() rw param to flags 2023-10-22 17:09:52 -04:00
extents_types.h
eytzinger.h
fifo.h bcachefs: More style fixes 2023-10-22 17:09:45 -04:00
fs-common.c bcachefs: Assorted checkpatch fixes 2023-10-22 17:09:44 -04:00
fs-common.h
fs-io.c bcachefs: Nocow support 2023-10-22 17:09:51 -04:00
fs-io.h
fs-ioctl.c bcachefs: Support FS_XFLAG_PROJINHERIT 2023-10-22 17:09:43 -04:00
fs-ioctl.h
fs.c bcachefs: Unwritten extents support 2023-10-22 17:09:51 -04:00
fs.h bcachefs: Nocow support 2023-10-22 17:09:51 -04:00
fsck.c bcachefs: Unwritten extents support 2023-10-22 17:09:51 -04:00
fsck.h
inode.c bcachefs: Change bkey_invalid() rw param to flags 2023-10-22 17:09:52 -04:00
inode.h bcachefs: Change bkey_invalid() rw param to flags 2023-10-22 17:09:52 -04:00
io.c bcachefs: don't block reads if we're promoting 2023-10-22 17:09:52 -04:00
io.h bcachefs: Nocow support 2023-10-22 17:09:51 -04:00
io_types.h bcachefs: Nocow support 2023-10-22 17:09:51 -04:00
journal.c bcachefs: Convert EAGAIN errors to private error codes 2023-10-22 17:09:49 -04:00
journal.h bcachefs: Convert EAGAIN errors to private error codes 2023-10-22 17:09:49 -04:00
journal_io.c bcachefs: BKEY_INVALID_FROM_JOURNAL 2023-10-22 17:09:52 -04:00
journal_io.h bcachefs: Log more messages in the journal 2023-10-22 17:09:48 -04:00
journal_reclaim.c bcachefs: Ensure btree node cache is not more than half dirty 2023-10-22 17:09:52 -04:00
journal_reclaim.h
journal_sb.c bcachefs: More errcode cleanup 2023-10-22 17:09:48 -04:00
journal_sb.h
journal_seq_blacklist.c bcachefs: More errcode cleanup 2023-10-22 17:09:48 -04:00
journal_seq_blacklist.h
journal_types.h bcachefs: Log more messages in the journal 2023-10-22 17:09:48 -04:00
Kconfig bcachefs: time stats now uses the mean_and_variance module. 2023-10-22 17:09:43 -04:00
keylist.c bcachefs: New bpos_cmp(), bkey_cmp() replacements 2023-10-22 17:09:47 -04:00
keylist.h bcachefs: DIO write path optimization 2023-10-22 17:09:45 -04:00
keylist_types.h
lru.c bcachefs: Improve invalidate_one_bucket() error messages 2023-10-22 17:09:52 -04:00
lru.h bcachefs: Improve invalidate_one_bucket() error messages 2023-10-22 17:09:52 -04:00
Makefile bcachefs: Nocow support 2023-10-22 17:09:51 -04:00
mean_and_variance.c bcachefs: Mean and variance 2023-10-22 17:09:43 -04:00
mean_and_variance.h bcachefs: Mean and variance 2023-10-22 17:09:43 -04:00
mean_and_variance_test.c bcachefs: Mean and variance 2023-10-22 17:09:43 -04:00
migrate.c bcachefs: New btree helpers 2023-10-22 17:09:48 -04:00
migrate.h
move.c bcachefs: Add max nr of IOs in flight to the move path 2023-10-22 17:09:52 -04:00
move.h bcachefs: Add max nr of IOs in flight to the move path 2023-10-22 17:09:52 -04:00
move_types.h
movinggc.c bcachefs: Copygc now uses backpointers 2023-10-22 17:09:51 -04:00
movinggc.h
nocow_locking.c bcachefs: Add an assert to bch2_bucket_nocow_unlock() 2023-10-22 17:09:52 -04:00
nocow_locking.h bcachefs: Improved nocow locking 2023-10-22 17:09:52 -04:00
nocow_locking_types.h bcachefs: Improved nocow locking 2023-10-22 17:09:52 -04:00
opts.c bcachefs: bch2_inode_opts_get() 2023-10-22 17:09:49 -04:00
opts.h bcachefs: Add max nr of IOs in flight to the move path 2023-10-22 17:09:52 -04:00
printbuf.c
printbuf.h
quota.c bcachefs: Change bkey_invalid() rw param to flags 2023-10-22 17:09:52 -04:00
quota.h bcachefs: Change bkey_invalid() rw param to flags 2023-10-22 17:09:52 -04:00
quota_types.h
rebalance.c bcachefs: Fixes for building in userspace 2023-10-22 17:09:46 -04:00
rebalance.h
rebalance_types.h
recovery.c bcachefs: Rework lru btree 2023-10-22 17:09:52 -04:00
recovery.h
reflink.c bcachefs: Change bkey_invalid() rw param to flags 2023-10-22 17:09:52 -04:00
reflink.h bcachefs: Change bkey_invalid() rw param to flags 2023-10-22 17:09:52 -04:00
replicas.c bcachefs: Fix memleak in replicas_table_update() 2023-10-22 17:09:50 -04:00
replicas.h bcachefs: Fix bch2_trans_reset_updates() 2023-10-22 17:09:50 -04:00
replicas_types.h bcachefs: Fix bch2_trans_reset_updates() 2023-10-22 17:09:50 -04:00
siphash.c bcachefs: Assorted checkpatch fixes 2023-10-22 17:09:44 -04:00
siphash.h
six.c six locks: Improved optimistic spinning 2023-10-22 17:09:50 -04:00
six.h six locks: Improved optimistic spinning 2023-10-22 17:09:50 -04:00
str_hash.h bcachefs: Add private error codes for ENOSPC 2023-10-22 17:09:40 -04:00
subvolume.c bcachefs: Change bkey_invalid() rw param to flags 2023-10-22 17:09:52 -04:00
subvolume.h bcachefs: Change bkey_invalid() rw param to flags 2023-10-22 17:09:52 -04:00
subvolume_types.h
super-io.c bcachefs: Convert EROFS errors to private error codes 2023-10-22 17:09:49 -04:00
super-io.h
super.c bcachefs: Improved nocow locking 2023-10-22 17:09:52 -04:00
super.h bcachefs: Nocow support 2023-10-22 17:09:51 -04:00
super_types.h
sysfs.c bcachefs: Improved nocow locking 2023-10-22 17:09:52 -04:00
sysfs.h
tests.c bcachefs: Use for_each_btree_key_upto() more consistently 2023-10-22 17:09:50 -04:00
tests.h
trace.c
trace.h bcachefs: Nocow support 2023-10-22 17:09:51 -04:00
two_state_shared_lock.c bcachefs: Inline bch2_two_state_(trylock|unlock) 2023-10-22 17:09:51 -04:00
two_state_shared_lock.h bcachefs: Inline bch2_two_state_(trylock|unlock) 2023-10-22 17:09:51 -04:00
util.c bcachefs: Use trylock in bch2_prt_backtrace() 2023-10-22 17:09:49 -04:00
util.h bcachefs: Delete atomic_inc_bug() 2023-10-22 17:09:46 -04:00
varint.c
varint.h
vstructs.h
xattr.c bcachefs: Change bkey_invalid() rw param to flags 2023-10-22 17:09:52 -04:00
xattr.h bcachefs: Change bkey_invalid() rw param to flags 2023-10-22 17:09:52 -04:00