diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-11-14 02:36:33 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:08:49 +0300 |
commit | ebb84d094141eac9ee3e22d95abc9792a1c79eca (patch) | |
tree | 4d5e66377dd2a124a626bad434c46c8d7f8e67b8 /fs/bcachefs/journal_reclaim.h | |
parent | 5db43418d5097b8aca5c725eb301186dee04c70a (diff) | |
download | linux-ebb84d094141eac9ee3e22d95abc9792a1c79eca.tar.xz |
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>
Diffstat (limited to 'fs/bcachefs/journal_reclaim.h')
-rw-r--r-- | fs/bcachefs/journal_reclaim.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/journal_reclaim.h b/fs/bcachefs/journal_reclaim.h index 3404fef241ea..b0f05839396d 100644 --- a/fs/bcachefs/journal_reclaim.h +++ b/fs/bcachefs/journal_reclaim.h @@ -39,6 +39,7 @@ journal_seq_pin(struct journal *j, u64 seq) return &j->pin.data[seq & j->pin.mask]; } +void __bch2_journal_pin_put(struct journal *, u64); void bch2_journal_pin_put(struct journal *, u64); void bch2_journal_pin_drop(struct journal *, struct journal_entry_pin *); |