diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-06-27 21:02:27 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-22 00:01:17 -0500 |
commit | 4b3e29583bb940951f08115b5bd5e66884784db1 (patch) | |
tree | 2f021860134272382d5f64947afcf3d0e10f8761 /kernel/bpf/bpf_struct_ops.c | |
parent | acf4948aa8fe00994c3b5408b409182590f2cfd8 (diff) |
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: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'kernel/bpf/bpf_struct_ops.c')
0 files changed, 0 insertions, 0 deletions