commit | 5d9667d1d6eaca3f6cd3c63cd6a0f309147c7f5c | [log] [tgz] |
---|---|---|
author | Kent Overstreet <kent.overstreet@linux.dev> | Fri Nov 17 00:23:07 2023 -0500 |
committer | Kent Overstreet <kent.overstreet@linux.dev> | Sun Jul 14 19:00:13 2024 -0400 |
tree | b63f68c017123efa8348294aa3bf53b95b5f9c94 | |
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>