diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-30 10:16:19 +0300 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 19:47:39 +0300 |
| commit | a56c61714a2d2e548f5c3792130149159e0657ed (patch) | |
| tree | aeaedd613e1bf30e90379744d01e44cbbb6eca17 /scripts/checkstack.pl | |
| parent | 0f64a6daaa4852db735a2df754b37d187f5480d1 (diff) | |
| download | linux-a56c61714a2d2e548f5c3792130149159e0657ed.tar.xz | |
bcachefs: Make backpointer fsck wb flush check more rigorous
backpointers fsck now always runs in rw mode - the btree is being
modified while it runs, by e.g. copygc, rebalance, the discard worker,
the invalidate worker.
We could find a missing backpointer, flush the btree write buffer, and
then on the next iteration find a new key at the exact same position -
which will most likely need another write buffer flush.
Hence, we have to check for an exact match on last_flushed, not just the
pos.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions
