diff options
| author | Kent Overstreet <[email protected]> | 2024-09-26 19:59:29 +0000 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2024-09-28 02:32:20 +0000 |
| commit | a3581ca35d2b7e854e071dec2df7de7152aaa5c3 (patch) | |
| tree | 2d65177de2e41a0c6105eb368653f589bb4274f5 /rust/helpers/helpers.c | |
| parent | bcachefs: Check for accounting keys with bversion=0 (diff) | |
| download | kernel-a3581ca35d2b7e854e071dec2df7de7152aaa5c3.tar.gz kernel-a3581ca35d2b7e854e071dec2df7de7152aaa5c3.zip | |
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: Kent Overstreet <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
