bcachefs: Don't get journal reservation until after we know insert will succeed
Checking if we can do the insert after getting the journal reservation
means potentially wasting space in the journal, which will break the new
pre reservation mechanism
Signed-off-by:
Kent Overstreet <kent.overstreet@linux.dev>
parent
8db2acde
Please register or sign in to comment