diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-17 00:23:07 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-07-14 19:00:13 -0400 |
commit | 5d9667d1d6eaca3f6cd3c63cd6a0f309147c7f5c (patch) | |
tree | b63f68c017123efa8348294aa3bf53b95b5f9c94 /fs/bcachefs/ec.c | |
parent | 9dec2a473bd1ba6a111382928e3ceaddfbb720ba (diff) |
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 <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/ec.c')
0 files changed, 0 insertions, 0 deletions