• Kent Overstreet's avatar
    bcachefs: Rewrite journal_seq_blacklist machinery · 1dd7f9d9
    Kent Overstreet authored
    Now, we store blacklisted journal sequence numbers in the superblock,
    not the journal: this helps to greatly simplify the code, and more
    importantly it's now implemented in a way that doesn't require all btree
    nodes to be visited before starting the journal - instead, we
    unconditionally blacklist the next 4 journal sequence numbers after an
    unclean shutdown.
    Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
    1dd7f9d9
recovery.c 14.6 KB