]> www.infradead.org Git - users/willy/pagecache.git/commit
bcachefs: CONFIG_BCACHEFS_INJECT_TRANSACTION_RESTARTS
authorKent Overstreet <kent.overstreet@linux.dev>
Tue, 24 Sep 2024 02:12:31 +0000 (22:12 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Wed, 12 Feb 2025 23:40:19 +0000 (18:40 -0500)
commit9cf6b84b71adb97f3c19476ebb5a42228fad89b5
treed5cda508ff0836cc09bc44d13c17c5a01df8a82a
parent9f734cd076931fa4d7feb5728e5cd95cde0af114
bcachefs: CONFIG_BCACHEFS_INJECT_TRANSACTION_RESTARTS

Incorrectly handled transaction restarts can be a source of heisenbugs;
add a mode where we randomly inject them to shake them out.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/Kconfig
fs/bcachefs/btree_iter.c
fs/bcachefs/btree_iter.h
fs/bcachefs/btree_trans_commit.c
fs/bcachefs/btree_types.h