linux-stable/fs/bcachefs
Kent Overstreet 0ba9375a11 bcachefs: Unwritten journal buffers are always dirty
Ensure that journal bufs that haven't been written can't be reclaimed
from the journal pin fifo, and can thus have new pins taken.

Prep work for changing the btree write buffer to pull keys from the
journal directly.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-01-01 11:47:41 -05:00
..
acl.c bcachefs: make RO snapshots actually RO 2024-01-01 11:47:07 -05:00
acl.h
alloc_background.c bcachefs: Rename for_each_btree_key2() -> for_each_btree_key() 2024-01-01 11:47:40 -05:00
alloc_background.h bcachefs: New bucket sector count helpers 2024-01-01 11:47:38 -05:00
alloc_foreground.c bcachefs: Fix open coded set_btree_iter_dontneed() 2024-01-01 11:47:40 -05:00
alloc_foreground.h
alloc_types.h
backpointers.c bcachefs: Make backpointer fsck wb flush check more rigorous 2024-01-01 11:47:39 -05:00
backpointers.h bcachefs: No need to allocate keys for write buffer 2024-01-01 11:47:38 -05:00
bbpos_types.h bcachefs: move: convert to bbpos 2023-10-31 12:18:37 -04:00
bbpos.h bcachefs: move: convert to bbpos 2023-10-31 12:18:37 -04:00
bcachefs_format.h bcachefs: Improve btree write buffer tracepoints 2024-01-01 11:47:39 -05:00
bcachefs_ioctl.h bcachefs: BCH_IOCTL_FSCK_ONLINE 2024-01-01 11:47:40 -05:00
bcachefs.h bcachefs: Improve trans->extra_journal_entries 2024-01-01 11:47:41 -05:00
bkey_buf.h
bkey_cmp.h
bkey_methods.c bcachefs: rebalance_work btree is not a snapshots btree 2023-11-04 22:19:13 -04:00
bkey_methods.h bcachefs: Kill BTREE_UPDATE_PREJOURNAL 2024-01-01 11:47:37 -05:00
bkey_sort.c bcachefs: bkey_copy() is no longer a macro 2023-11-05 13:12:18 -05:00
bkey_sort.h
bkey.c
bkey.h bcachefs: bkey_copy() is no longer a macro 2023-11-05 13:12:18 -05:00
bset.c
bset.h
btree_cache.c bcachefs: Include btree_trans in more tracepoints 2024-01-01 11:47:40 -05:00
btree_cache.h bcachefs: Include btree_trans in more tracepoints 2024-01-01 11:47:40 -05:00
btree_gc.c bcachefs: Rename for_each_btree_key2() -> for_each_btree_key() 2024-01-01 11:47:40 -05:00
btree_gc.h
btree_io.c bcachefs: Improve error message when finding wrong btree node 2024-01-01 11:47:40 -05:00
btree_io.h bcachefs: Include btree_trans in more tracepoints 2024-01-01 11:47:40 -05:00
btree_iter.c bcachefs: bch2_trans_node_add no longer uses trans_for_each_path() 2024-01-01 11:47:41 -05:00
btree_iter.h bcachefs: bch2_trans_node_add no longer uses trans_for_each_path() 2024-01-01 11:47:41 -05:00
btree_journal_iter.c bcachefs: convert bch_fs_flags to x-macro 2024-01-01 11:47:38 -05:00
btree_journal_iter.h bcachefs: Proper refcounting for journal_keys 2023-11-24 02:43:12 -05:00
btree_key_cache_types.h bcachefs: Run btree key cache shrinker less aggressively 2023-11-13 21:45:01 -05:00
btree_key_cache.c bcachefs; kill bch2_btree_key_cache_flush() 2024-01-01 11:47:41 -05:00
btree_key_cache.h bcachefs; kill bch2_btree_key_cache_flush() 2024-01-01 11:47:41 -05:00
btree_locking.c bcachefs: kill btree_path->(alloc_seq|downgrade_seq) 2024-01-01 11:47:41 -05:00
btree_locking.h bcachefs: Refactor trans->paths_allocated to be standard bitmap 2024-01-01 11:47:40 -05:00
btree_trans_commit.c bcachefs: Improve trans->extra_journal_entries 2024-01-01 11:47:41 -05:00
btree_types.h bcachefs: Improve trans->extra_journal_entries 2024-01-01 11:47:41 -05:00
btree_update_interior.c bcachefs: bch2_trans_node_add no longer uses trans_for_each_path() 2024-01-01 11:47:41 -05:00
btree_update_interior.h bcachefs: btree_node_u64s_with_format() takes nr keys 2023-12-19 16:18:13 -05:00
btree_update.c bcachefs: Improve trans->extra_journal_entries 2024-01-01 11:47:41 -05:00
btree_update.h bcachefs: Improve trans->extra_journal_entries 2024-01-01 11:47:41 -05:00
btree_write_buffer_types.h
btree_write_buffer.c bcachefs: more write buffer refactoring 2024-01-01 11:47:39 -05:00
btree_write_buffer.h bcachefs: bch2_btree_write_buffer_flush() -> bch2_btree_write_buffer_tryflush() 2024-01-01 11:47:39 -05:00
buckets_types.h bcachefs: Kill dev_usage->buckets_ec 2024-01-01 11:47:38 -05:00
buckets_waiting_for_journal_types.h
buckets_waiting_for_journal.c
buckets_waiting_for_journal.h
buckets.c bcachefs: Move reflink_p triggers into reflink.c 2024-01-01 11:47:40 -05:00
buckets.h bcachefs: Move reflink_p triggers into reflink.c 2024-01-01 11:47:40 -05:00
chardev.c bcachefs: BCH_IOCTL_FSCK_ONLINE 2024-01-01 11:47:40 -05:00
chardev.h
checksum.c
checksum.h
clock_types.h
clock.c
clock.h
compress.c bcachefs: Remove obsolete comment about zstd 2024-01-01 11:47:40 -05:00
compress.h bcachefs: rebalance_work 2023-11-01 21:11:05 -04:00
counters.c
counters.h
darray.c bcachefs: DARRAY_PREALLOCATED() 2024-01-01 11:46:52 -05:00
darray.h bcachefs: DARRAY_PREALLOCATED() 2024-01-01 11:46:52 -05:00
data_update.c bcachefs: remove redundant condition from data_update_index_update 2024-01-01 11:47:39 -05:00
data_update.h bcachefs: Data update path won't accidentaly grow replicas 2023-11-25 21:48:42 -05:00
debug.c bcachefs: Rename for_each_btree_key2() -> for_each_btree_key() 2024-01-01 11:47:40 -05:00
debug.h
dirent.c bcachefs: bch_str_hash_flags_t 2024-01-01 11:47:37 -05:00
dirent.h bcachefs: bch_str_hash_flags_t 2024-01-01 11:47:37 -05:00
disk_groups_types.h bcachefs: bch2_disk_path_to_text() no longer takes sb_lock 2023-10-31 12:18:37 -04:00
disk_groups.c bcachefs: Fix potential sleeping during mount 2023-11-14 23:44:43 -05:00
disk_groups.h bcachefs: bch2_disk_path_to_text() no longer takes sb_lock 2023-10-31 12:18:37 -04:00
ec_types.h bcachefs: Rename bch_replicas_entry -> bch_replicas_entry_v1 2024-01-01 11:47:38 -05:00
ec.c bcachefs: Rename for_each_btree_key2() -> for_each_btree_key() 2024-01-01 11:47:40 -05:00
ec.h bcachefs: bch2_ec_read_extent() now takes btree_trans 2023-11-05 13:13:57 -05:00
errcode.c
errcode.h bcachefs: BCH_ERR_opt_parse_error 2024-01-01 11:47:40 -05:00
error.c bcachefs: convert bch_fs_flags to x-macro 2024-01-01 11:47:38 -05:00
error.h bcachefs: fix BCH_FSCK_ERR enum 2023-12-19 19:01:52 -05:00
extent_update.c
extent_update.h
extents_types.h
extents.c bcachefs: rebalance shouldn't attempt to compress unwritten extents 2023-12-06 17:43:21 -05:00
extents.h bcachefs: Enumerate fsck errors 2023-11-01 21:11:08 -04:00
eytzinger.h
fifo.h
fs-common.c bcachefs: x-macro-ify inode flags enum 2023-11-05 13:12:18 -05:00
fs-common.h
fs-io-buffered.c bcachefs: convert bch_fs_flags to x-macro 2024-01-01 11:47:38 -05:00
fs-io-buffered.h
fs-io-direct.c bcachefs: fix invalid free in dio write path 2024-01-01 11:43:03 -05:00
fs-io-direct.h
fs-io-pagecache.c bcachefs: Use correct fgf_t type as function argument 2023-11-13 21:42:21 -05:00
fs-io-pagecache.h bcachefs: Use correct fgf_t type as function argument 2023-11-13 21:42:21 -05:00
fs-io.c bcachefs: return from fsync on writeback error to avoid early shutdown 2024-01-01 11:47:40 -05:00
fs-io.h
fs-ioctl.c bcachefs: remove sb lock and flags update on explicit shutdown 2024-01-01 11:47:40 -05:00
fs-ioctl.h bcachefs: x-macro-ify inode flags enum 2023-11-05 13:12:18 -05:00
fs.c bcachefs: convert bch_fs_flags to x-macro 2024-01-01 11:47:38 -05:00
fs.h bcachefs: kill INODE_LOCK, use lock_two_nondirectories() 2024-01-01 11:47:36 -05:00
fsck.c bcachefs: Rename for_each_btree_key2() -> for_each_btree_key() 2024-01-01 11:47:40 -05:00
fsck.h bcachefs: Check for too-large encoded extents 2023-10-31 12:18:37 -04:00
inode.c bcachefs: Kill for_each_btree_key() 2024-01-01 11:47:40 -05:00
inode.h bcachefs: x-macro-ify inode flags enum 2023-11-05 13:12:18 -05:00
io_misc.c bcachefs: Rename BTREE_INSERT flags 2024-01-01 11:47:37 -05:00
io_misc.h bcachefs: Fix an integer overflow 2023-11-01 21:11:08 -04:00
io_read.c bcachefs: Replace zero-length arrays with flexible-array members 2024-01-01 11:47:39 -05:00
io_read.h
io_write_types.h
io_write.c bcachefs: Don't open code bch2_dev_exists2() 2024-01-01 11:47:39 -05:00
io_write.h closures: CLOSURE_CALLBACK() to fix type punning 2023-11-24 00:29:58 -05:00
journal_io.c bcachefs: Kill dev_usage->buckets_ec 2024-01-01 11:47:38 -05:00
journal_io.h closures: CLOSURE_CALLBACK() to fix type punning 2023-11-24 00:29:58 -05:00
journal_reclaim.c bcachefs: Unwritten journal buffers are always dirty 2024-01-01 11:47:41 -05:00
journal_reclaim.h bcachefs: Add an assertion in bch2_journal_pin_set() 2024-01-01 11:47:37 -05:00
journal_sb.c
journal_sb.h
journal_seq_blacklist.c bcachefs: convert bch_fs_flags to x-macro 2024-01-01 11:47:38 -05:00
journal_seq_blacklist.h
journal_types.h bcachefs: kill journal->preres_wait 2024-01-01 11:47:39 -05:00
journal.c bcachefs: Add a tracepoint for journal entry close 2024-01-01 11:47:37 -05:00
journal.h bcachefs: kill journal->preres_wait 2024-01-01 11:47:39 -05:00
Kconfig bcachefs: six locks: Simplify optimistic spinning 2024-01-01 11:47:38 -05:00
keylist_types.h
keylist.c
keylist.h
logged_ops.c bcachefs: Rename for_each_btree_key2() -> for_each_btree_key() 2024-01-01 11:47:40 -05:00
logged_ops.h
lru.c bcachefs: Rename BTREE_INSERT flags 2024-01-01 11:47:37 -05:00
lru.h bcachefs: Enumerate fsck errors 2023-11-01 21:11:08 -04:00
Makefile bcachefs: bch_sb_field_downgrade 2024-01-01 11:47:07 -05:00
mean_and_variance_test.c
mean_and_variance.c
mean_and_variance.h
migrate.c bcachefs: Rename BTREE_INSERT flags 2024-01-01 11:47:37 -05:00
migrate.h
move_types.h bcachefs: move: move_stats refactoring 2023-10-31 12:18:38 -04:00
move.c bcachefs: Rename for_each_btree_key2() -> for_each_btree_key() 2024-01-01 11:47:40 -05:00
move.h bcachefs: rebalance should wakeup on shutdown if disabled 2024-01-01 11:47:39 -05:00
movinggc.c bcachefs: copygc shouldn't try moving buckets on error 2024-01-01 11:47:39 -05:00
movinggc.h
nocow_locking_types.h
nocow_locking.c
nocow_locking.h
opts.c bcachefs: BCH_ERR_opt_parse_error 2024-01-01 11:47:40 -05:00
opts.h bcachefs: Add ability to redirect log output 2024-01-01 11:47:40 -05:00
printbuf.c bcachefs: prt_bitflags_vector() 2024-01-01 11:47:07 -05:00
printbuf.h bcachefs: prt_bitflags_vector() 2024-01-01 11:47:07 -05:00
quota_types.h
quota.c bcachefs: Rename for_each_btree_key2() -> for_each_btree_key() 2024-01-01 11:47:40 -05:00
quota.h bcachefs: Enumerate fsck errors 2023-11-01 21:11:08 -04:00
rebalance_types.h bcachefs: rebalance_work 2023-11-01 21:11:05 -04:00
rebalance.c bcachefs: rebalance should wakeup on shutdown if disabled 2024-01-01 11:47:39 -05:00
rebalance.h bcachefs: rebalance_work 2023-11-01 21:11:05 -04:00
recovery_types.h bcachefs: Mark recovery passses that are safe to run online 2024-01-01 11:47:40 -05:00
recovery.c bcachefs: Fix snapshot.c assertion for online fsck 2024-01-01 11:47:41 -05:00
recovery.h bcachefs: bch2_run_online_recovery_passes() 2024-01-01 11:47:40 -05:00
reflink.c bcachefs: Move reflink_p triggers into reflink.c 2024-01-01 11:47:40 -05:00
reflink.h bcachefs: Move reflink_p triggers into reflink.c 2024-01-01 11:47:40 -05:00
replicas_types.h bcachefs: Replace zero-length arrays with flexible-array members 2024-01-01 11:47:39 -05:00
replicas.c bcachefs: Rename bch_replicas_entry -> bch_replicas_entry_v1 2024-01-01 11:47:38 -05:00
replicas.h bcachefs: Rename bch_replicas_entry -> bch_replicas_entry_v1 2024-01-01 11:47:38 -05:00
sb-clean.c bcachefs: Kill dev_usage->buckets_ec 2024-01-01 11:47:38 -05:00
sb-clean.h
sb-downgrade.c bcachefs: bch_sb_field_downgrade 2024-01-01 11:47:07 -05:00
sb-downgrade.h bcachefs: bch_sb_field_downgrade 2024-01-01 11:47:07 -05:00
sb-errors_types.h bcachefs: Check for unlinked inodes not on deleted list 2024-01-01 11:47:36 -05:00
sb-errors.c bcachefs: bch_sb_field_downgrade 2024-01-01 11:47:07 -05:00
sb-errors.h bcachefs: bch_sb.recovery_passes_required 2024-01-01 11:47:07 -05:00
sb-members.c bcachefs: Print durability in member_to_text() 2024-01-01 11:47:38 -05:00
sb-members.h bcachefs: Move __bch2_members_v2_get_mut to sb-members.h 2023-11-05 13:12:17 -05:00
seqmutex.h
siphash.c
siphash.h
six.c bcachefs: six locks: Simplify optimistic spinning 2024-01-01 11:47:38 -05:00
six.h bcachefs: six lock: fix typos 2024-01-01 11:47:40 -05:00
snapshot.c bcachefs: Fix snapshot.c assertion for online fsck 2024-01-01 11:47:41 -05:00
snapshot.h bcachefs: Enumerate fsck errors 2023-11-01 21:11:08 -04:00
str_hash.h bcachefs: bch_str_hash_flags_t 2024-01-01 11:47:37 -05:00
subvolume_types.h bcachefs: Use DECLARE_FLEX_ARRAY() helper and fix multiple -Warray-bounds warnings 2023-11-13 21:42:21 -05:00
subvolume.c bcachefs: Explicity go RW for fsck 2024-01-01 11:47:39 -05:00
subvolume.h bcachefs: make RO snapshots actually RO 2024-01-01 11:47:07 -05:00
super_types.h bcachefs: preserve device path as device name 2023-11-24 02:42:07 -05:00
super-io.c bcachefs: convert bch_fs_flags to x-macro 2024-01-01 11:47:38 -05:00
super-io.h bcachefs: add a quieter bch2_read_super 2024-01-01 11:47:38 -05:00
super.c bcachefs: BCH_IOCTL_FSCK_ONLINE 2024-01-01 11:47:40 -05:00
super.h bcachefs: convert bch_fs_flags to x-macro 2024-01-01 11:47:38 -05:00
sysfs.c bcachefs: Rename for_each_btree_key2() -> for_each_btree_key() 2024-01-01 11:47:40 -05:00
sysfs.h
tests.c
tests.h
trace.c bcachefs: move: move_stats refactoring 2023-10-31 12:18:38 -04:00
trace.h bcachefs: kill btree_path->(alloc_seq|downgrade_seq) 2024-01-01 11:47:41 -05:00
two_state_shared_lock.c
two_state_shared_lock.h
util.c bcachefs: Fix userspace bch2_prt_datetime() 2024-01-01 11:47:37 -05:00
util.h bcachefs: track_event_change() 2024-01-01 11:47:37 -05:00
varint.c
varint.h
vstructs.h
xattr.c bcachefs: make RO snapshots actually RO 2024-01-01 11:47:07 -05:00
xattr.h bcachefs: Enumerate fsck errors 2023-11-01 21:11:08 -04:00