Skip to content
Snippets Groups Projects
Commit a3581ca3 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix BCH_TRANS_COMMIT_skip_accounting_apply


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>
parent f8911ad8
No related branches found
No related tags found
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