• Kent Overstreet's avatar
    bcachefs: Fix BCH_TRANS_COMMIT_skip_accounting_apply · a3581ca3
    Kent Overstreet authored
    This was added to avoid double-counting accounting keys in journal
    replay. But applied incorrectly (easily done since it applies to the
    transaction commit, not a particular update), it leads to skipping
    in-mem accounting for real accounting updates, and failure to give them
    a version number - which leads to journal replay becoming very confused
    the next time around.
    Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
    a3581ca3
btree_trans_commit.c 31.6 KB