diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-06-17 10:23:53 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-06-17 11:42:06 -0400 |
commit | e1f0e1a45a40f45ed615abf938cbdfeb7793a9ee (patch) | |
tree | 871b5726ff5e2a8571c813001d1c83fc3425a7f2 /scripts/lib/kdoc/kdoc_parser.py | |
parent | 6c4897caefc8e4c6f2bf08f8317b955672667909 (diff) |
bcachefs: Fix restart handling in btree_node_scrub_work()
btree node scrub was sometimes failing to rewrite nodes with errors;
bch2_btree_node_rewrite() can return a transaction restart and we
weren't checking - the lockrestart_do() needs to wrap the entire
operation.
And there's a better helper it should've been using,
bch2_btree_node_rewrite_key(), which makes all this more convenient.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions