diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-13 04:20:35 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 19:47:37 +0300 |
commit | cd404e5b05eb40f3ff27ab9d796f41f0a3b5a2c4 (patch) | |
tree | 46942bb5a52cb5c9d3ed781fa72e50d7267191db /fs/bcachefs/btree_types.h | |
parent | eb54e81f27b56ba101e277029b153a7c892317f1 (diff) | |
download | linux-cd404e5b05eb40f3ff27ab9d796f41f0a3b5a2c4.tar.xz |
bcachefs: backpointers fsck no longer uses BTREE_ITER_ALL_LEVELS
It appears that BTREE_ITER_ALL_LEVELS is racy with concurrent interior
node btree updates; unfortunate but not terribly surprising it's a
difficult problem - that was the original reason for gc_lock.
BTREE_ITER_ALL_LEVELS will probably be deleted in a subsequent patch,
this changes backpointers fsck to instead walk keys at one level of the
btree at a time.
This fixes the tiering_drop_alloc test, which stopped working with the
patch to not flush the journal after journal replay.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_types.h')
0 files changed, 0 insertions, 0 deletions