Linux bcachefs list
 help / color / mirror / Atom feed
* [PATCH] bcachefs: Increase blacklist range
@ 2025-03-15  7:39 Alan Huang
  2025-03-15 21:49 ` Kent Overstreet
  2025-03-17 20:58 ` John Stoffel
  0 siblings, 2 replies; 8+ messages in thread
From: Alan Huang @ 2025-03-15  7:39 UTC (permalink / raw)
  To: kent.overstreet; +Cc: linux-bcachefs, Alan Huang

Now there are 16 journal buffers, 8 is too small to be enough.

Signed-off-by: Alan Huang <mmpgouride@gmail.com>
---
 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


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-03-18 16:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-15  7:39 [PATCH] bcachefs: Increase blacklist range Alan Huang
2025-03-15 21:49 ` Kent Overstreet
2025-03-17 20:58 ` John Stoffel
2025-03-18  0:33   ` Kent Overstreet
2025-03-18 14:26     ` John Stoffel
2025-03-18 14:57       ` Kent Overstreet
2025-03-18 15:19         ` Alan Huang
2025-03-18 16:46           ` Kent Overstreet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox