diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-03-14 19:54:21 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:09:57 +0300 |
commit | 872c0311675bdb73b29ee74c7f27afc82d4918e9 (patch) | |
tree | 400b87f972f1ded45707837a9cf1be91f6dd56a7 /fs/bcachefs/replicas.c | |
parent | c639c29ce6882f4f77a81d778ef4741d5a5979d9 (diff) | |
download | linux-872c0311675bdb73b29ee74c7f27afc82d4918e9.tar.xz |
bcachefs: Fix bch2_check_extents_to_backpointers()
In rare cases, bch2_check_extents_to_backpointers() would incorrectly
flag an extent has having a missing backpointer when we just needed to
flush the btree write buffer - we weren't tracking the last flushed
position correctly.
This adds a level field to the last_flushed pos, fixing a bug where we'd
sometimes fail on a new root node.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/replicas.c')
0 files changed, 0 insertions, 0 deletions