Skip to content
Commit 01bf5e3b authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: minor lru fsck fixes



check_lru_key() wasn't using write buffer updates for deleting bad lru
entries - dating from before the lru btree used the btree write buffer.

And when possibly flushing the btree write buffer (to make sure we're
seeing a real inconsistency), we need to be using the modern
bch2_btree_write_buffer_maybe_flush().

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 1bea714c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment