Linux bcachefs list
 help / color / mirror / Atom feed
* bcachefs: do not run 6.7: upgrade to 6.8 immediately if you have a multi device fs
@ 2024-03-15  4:41 Kent Overstreet
  2024-03-15  8:57 ` Martin Steigerwald
  0 siblings, 1 reply; 8+ messages in thread
From: Kent Overstreet @ 2024-03-15  4:41 UTC (permalink / raw)
  To: linux-bcachefs, linux-fsdevel, linux-kernel

there's a bug in 6.7 with filesystems that are mid upgrade and then get
downgraded not getting marked in the superblock as downgraded, and this
translates to a really horrific bug in splitbrain detection when the old
version isn't updating member sequence nmubers and you go back to the
new version - this results in every device being kicked out of the fs.

and our backports are not being picked up by the stable team, so - do
not run 6.7, switch to 6.8 immediately, running 6.7 with new -tools will
trigger it.

if you are affected:

 - 6.9 (once Linus merges) will have a new no_splitbrain_check option,
   which runs the splitbrain checks in dry mode and won't kick your
   devices out

 - we have new repair code landing soon that can recover from
   missing/unreadable btree roots by scanning the entire device(s) for
   btree nodes (which, fortunately, we have sufficient metadata in btree
   node headers to do safely; reiserfs famously did not). i've seen some
   crazy corruption resulting from this, but it might still be
   recoverable

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

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

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-15  4:41 bcachefs: do not run 6.7: upgrade to 6.8 immediately if you have a multi device fs Kent Overstreet
2024-03-15  8:57 ` Martin Steigerwald
2024-03-15 17:57   ` Kent Overstreet
2024-03-16 16:18     ` Martin Steigerwald
2024-03-16 16:41       ` Kent Overstreet
2024-03-16 16:49         ` Martin Steigerwald
2024-03-16 17:31           ` Martin Steigerwald
2024-03-16 18:08             ` Kent Overstreet

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