aboutsummaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/debug.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-09-21 23:27:59 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2024-12-21 01:36:14 -0500
commitd65d126c0256cf2349e118a3e8627d8281295eee (patch)
treef9817989a6c6d8ffb1f6c1d4503206207daa9fe5 /fs/bcachefs/debug.c
parentbcachefs: lru, accounting are alloc btrees (diff)
downloadlinux-rng-d65d126c0256cf2349e118a3e8627d8281295eee.tar.xz
linux-rng-d65d126c0256cf2349e118a3e8627d8281295eee.zip
bcachefs: Add locking for bch_fs.curr_recovery_pass
Recovery can rewind in certain situations - when we discover we need to run a pass that doesn't normally run. This can happen from another thread for btree node read errors, so we need a bit of locking. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/debug.c')
0 files changed, 0 insertions, 0 deletions