diff options
author | 2024-09-21 23:27:59 -0400 | |
---|---|---|
committer | 2024-12-21 01:36:14 -0500 | |
commit | d65d126c0256cf2349e118a3e8627d8281295eee (patch) | |
tree | f9817989a6c6d8ffb1f6c1d4503206207daa9fe5 /fs/bcachefs/debug.c | |
parent | bcachefs: lru, accounting are alloc btrees (diff) | |
download | linux-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