diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-30 02:16:19 -0500 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 11:47:39 -0500 |
| commit | a56c61714a2d2e548f5c3792130149159e0657ed (patch) | |
| tree | aeaedd613e1bf30e90379744d01e44cbbb6eca17 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 0f64a6daaa4852db735a2df754b37d187f5480d1 (diff) | |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
