diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-03-14 12:54:21 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:57 -0400 |
commit | 872c0311675bdb73b29ee74c7f27afc82d4918e9 (patch) | |
tree | 400b87f972f1ded45707837a9cf1be91f6dd56a7 /fs/mount.h | |
parent | c639c29ce6882f4f77a81d778ef4741d5a5979d9 (diff) | |
download | lwn-872c0311675bdb73b29ee74c7f27afc82d4918e9.tar.gz lwn-872c0311675bdb73b29ee74c7f27afc82d4918e9.zip |
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/mount.h')
0 files changed, 0 insertions, 0 deletions