summaryrefslogtreecommitdiff
path: root/scripts/bin2c.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-02-19 02:36:22 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2023-03-17 10:33:08 -0400
commit475c638bc09f8279cd0d687f857d8513d2095d76 (patch)
treeff398457d8bf40af0552d33702d5ad275a155eaa /scripts/bin2c.c
parentba83cd8fe637896b9b2c7832d3d55cbf79e564c4 (diff)
bcachefs: btree write buffer: Do write buffer updates via journal
Instead of appending to the write buffer in the transaction commit path, remember that we also have everything we need in the journal: This adds a new journal entry type, BCH_JSET_ENTRY_buffered_keys, for keys that needed to be added to the write buffer. Before doing a journal write, in our compaction pass, we find those journal entries and add them to the write buffer, and write them out with the normal BCH_JSET_ENTRY_btree_keys type. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'scripts/bin2c.c')
0 files changed, 0 insertions, 0 deletions