Commit 6b00de06 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: bch_member->seq



Add new fields for split brain detection:

 - bch_member->seq, which tracks the sequence number of the last superblock
   write that happened to each member device

 - bch_sb->write_time, which tracks the time of the last superblock write,
   to allow detection of when two members have diverged but had the same
   number of superblock writes.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 62719cf3
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