]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: BTREE_INSERT_JOURNAL_REPLAY now "don't init trans->journal_res"
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 9 Nov 2023 03:00:00 +0000 (22:00 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 1 Jan 2024 16:47:37 +0000 (11:47 -0500)
commit9a71de675f97acafdcda7bf4ce4ba10247c1db00
tree49037721d00519f40d01e744bcea822bb40edc31
parent389c92b36e302d866c2850e70560667ac4a826c6
bcachefs: BTREE_INSERT_JOURNAL_REPLAY now "don't init trans->journal_res"

This slightly changes how trans->journal_res works, in preparation for
changing the btree write buffer flush path to use it.

Now, BTREE_INSERT_JOURNAL_REPLAY means "don't take a journal
reservation; trans->journal_res.seq already refers to the journal
sequence number to pin".

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/btree_trans_commit.c
fs/bcachefs/recovery.c