]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: Kill BTREE_UPDATE_PREJOURNAL
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 9 Nov 2023 03:04:29 +0000 (22:04 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 1 Jan 2024 16:47:37 +0000 (11:47 -0500)
commit43c7ede0095d7020ca03113b2fde84b00dd5cd49
tree7db4a25e2ae9bb13342fd30a0a203c685cd3a0a8
parent9a71de675f97acafdcda7bf4ce4ba10247c1db00
bcachefs: Kill BTREE_UPDATE_PREJOURNAL

With the previous patch that reworks BTREE_INSERT_JOURNAL_REPLAY, we can
now switch the btree write buffer to use it for flushing.

This has the advantage that transaction commits don't need to take a
journal reservation at all.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/bkey_methods.h
fs/bcachefs/btree_trans_commit.c
fs/bcachefs/btree_types.h
fs/bcachefs/btree_update.c
fs/bcachefs/btree_write_buffer.c