bcachefs: Increase journal pipelining
authorKent Overstreet <kent.overstreet@gmail.com>
Fri, 13 Nov 2020 23:36:33 +0000 (18:36 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:49 +0000 (17:08 -0400)
commitebb84d094141eac9ee3e22d95abc9792a1c79eca
tree4d5e66377dd2a124a626bad434c46c8d7f8e67b8
parent5db43418d5097b8aca5c725eb301186dee04c70a
bcachefs: Increase journal pipelining

This patch increases the maximum journal buffers in flight from 2 to 4 -
this will be particularly helpful when in the future we stop requiring
flush+fua for every journal write.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/journal.c
fs/bcachefs/journal.h
fs/bcachefs/journal_io.c
fs/bcachefs/journal_reclaim.c
fs/bcachefs/journal_reclaim.h
fs/bcachefs/journal_types.h
fs/bcachefs/recovery.c