On Sat, Mar 15, 2025 at 03:39:42PM +0800, Alan Huang wrote:
> Now there are 16 journal buffers, 8 is too small to be enough.
>
> Signed-off-by: Alan Huang <[email protected]>
Applied! Thanks
> ---
> fs/bcachefs/recovery.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/bcachefs/recovery.c b/fs/bcachefs/recovery.c
> index 71c786cdb192..a6e26733854d 100644
> --- a/fs/bcachefs/recovery.c
> +++ b/fs/bcachefs/recovery.c
> @@ -899,7 +899,7 @@ int bch2_fs_recovery(struct bch_fs *c)
> * journal sequence numbers:
> */
> if (!c->sb.clean)
> - journal_seq += 8;
> + journal_seq += JOURNAL_BUF_NR * 4;
>
> if (blacklist_seq != journal_seq) {
> ret = bch2_journal_log_msg(c, "blacklisting entries
> %llu-%llu",
> --
> 2.48.1
>