• Kent Overstreet's avatar
    bcachefs: bch_member->seq · 6b00de06
    Kent Overstreet authored
    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>
    6b00de06
bcachefs_format.h 62.9 KB