linux/fs/bcachefs
Kent Overstreet e941ae7d3a bcachefs: Add a counter for btree_trans restarts
This will help us improve nested transactions - we need to add
assertions that whenever an inner transaction handles a restart, it
still returns -EINTR to the outer transaction.

This also adds nested_lockrestart_do() and nested_commit_do() which use
the new counters to correctly return -EINTR when the transaction was
restarted.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2023-10-22 17:09:36 -04:00
..
acl.c
acl.h
alloc_background.c bcachefs: Convert alloc code to for_each_btree_key_commit() 2023-10-22 17:09:36 -04:00
alloc_background.h
alloc_foreground.c
alloc_foreground.h
alloc_types.h
bcachefs.h
bcachefs_format.h
bcachefs_ioctl.h
bkey.c
bkey.h
bkey_buf.h
bkey_methods.c
bkey_methods.h
bkey_sort.c
bkey_sort.h
bset.c
bset.h
btree_cache.c
btree_cache.h
btree_gc.c bcachefs: Convert bch2_gc_done() for_each_btree_key2() 2023-10-22 17:09:36 -04:00
btree_gc.h
btree_io.c
btree_io.h
btree_iter.c bcachefs: Add a counter for btree_trans restarts 2023-10-22 17:09:36 -04:00
btree_iter.h bcachefs: Add a counter for btree_trans restarts 2023-10-22 17:09:36 -04:00
btree_key_cache.c
btree_key_cache.h
btree_locking.h
btree_types.h bcachefs: Add a counter for btree_trans restarts 2023-10-22 17:09:36 -04:00
btree_update.h bcachefs: Add a counter for btree_trans restarts 2023-10-22 17:09:36 -04:00
btree_update_interior.c
btree_update_interior.h
btree_update_leaf.c
buckets.c bcachefs: bch2_trans_run() 2023-10-22 17:09:36 -04:00
buckets.h
buckets_types.h
buckets_waiting_for_journal.c
buckets_waiting_for_journal.h
buckets_waiting_for_journal_types.h
chardev.c
chardev.h
checksum.c
checksum.h
clock.c
clock.h
clock_types.h
compress.c
compress.h
counters.c
counters.h
darray.h
data_update.c
data_update.h
debug.c
debug.h
dirent.c
dirent.h
disk_groups.c
disk_groups.h
ec.c
ec.h
ec_types.h
errcode.h
error.c
error.h
extent_update.c
extent_update.h
extents.c
extents.h
extents_types.h
eytzinger.h
fifo.h
fs-common.c
fs-common.h
fs-io.c
fs-io.h
fs-ioctl.c
fs-ioctl.h
fs.c
fs.h
fsck.c bcachefs: Convert more fsck code to for_each_btree_key2() 2023-10-22 17:09:36 -04:00
fsck.h
inode.c
inode.h
io.c
io.h
io_types.h
journal.c bcachefs: bch2_trans_run() 2023-10-22 17:09:36 -04:00
journal.h
journal_io.c
journal_io.h
journal_reclaim.c
journal_reclaim.h
journal_sb.c
journal_sb.h
journal_seq_blacklist.c
journal_seq_blacklist.h
journal_types.h
Kconfig
keylist.c
keylist.h
keylist_types.h
lru.c bcachefs: Convert bch2_check_lrus() to for_each_btree_key_commit() 2023-10-22 17:09:36 -04:00
lru.h
Makefile
migrate.c bcachefs: Convert bch2_dev_usrdata_drop() to for_each_btree_key2() 2023-10-22 17:09:36 -04:00
migrate.h
move.c
move.h
move_types.h
movinggc.c
movinggc.h
opts.c
opts.h
printbuf.c
printbuf.h
quota.c bcachefs: Convert more quota code to for_each_btree_key2() 2023-10-22 17:09:36 -04:00
quota.h
quota_types.h
rebalance.c
rebalance.h
rebalance_types.h
recovery.c
recovery.h
reflink.c
reflink.h
replicas.c
replicas.h
replicas_types.h
siphash.c
siphash.h
six.c
six.h
str_hash.h
subvolume.c bcachefs: Convert subvol code to for_each_btree_key_commit() 2023-10-22 17:09:36 -04:00
subvolume.h
subvolume_types.h
super-io.c
super-io.h
super.c
super.h
super_types.h
sysfs.c
sysfs.h
tests.c
tests.h
trace.c
trace.h
util.c
util.h
varint.c
varint.h
vstructs.h
xattr.c
xattr.h