• Kent Overstreet's avatar
    bcachefs: minor lru fsck fixes · 01bf5e3b
    Kent Overstreet authored
    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>
    01bf5e3b
lru.c 5.01 KB