diff options
| author | Kent Overstreet <[email protected]> | 2023-11-17 05:23:07 +0000 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2024-07-14 23:00:13 +0000 |
| commit | 5d9667d1d6eaca3f6cd3c63cd6a0f309147c7f5c (patch) | |
| tree | b63f68c017123efa8348294aa3bf53b95b5f9c94 /fs/bcachefs/btree_trans_commit.c | |
| parent | bcachefs: Accumulate accounting keys in journal replay (diff) | |
| download | kernel-5d9667d1d6eaca3f6cd3c63cd6a0f309147c7f5c.tar.gz kernel-5d9667d1d6eaca3f6cd3c63cd6a0f309147c7f5c.zip | |
bcachefs: btree write buffer knows how to accumulate bch_accounting keys
Teach the btree write buffer how to accumulate accounting keys - instead
of having the newer key overwrite the older key as we do with other
updates, we need to add them together.
Also, add a flag so that write buffer flush knows when journal replay is
finished flushing accounting, and teach it to hold accounting keys until
that flag is set.
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'fs/bcachefs/btree_trans_commit.c')
0 files changed, 0 insertions, 0 deletions
