Commit c4200645 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Check for writing superblocks with nonsense member seq fields



We're seeing some unmountable filesystems due to split brain detection
going awry; it seems we somehow wrote out superblocks where we updated
the superblock seq without updating any member seq fields.

A given device's superblock should always have the main seq equal to
it's member seq field, so this is easy to check for.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 5e105fb8
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment