Split brain detection
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bcachefs: bch_member->seqfs/ fs/ fs/ | +18 | 0 replies | |
| 2/2 | bcachefs: Split brain detectionfs/ fs/ | +46 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] Split brain detection
Two patch series for split brain detection: that is, detect when different members of a filesystem have been used, independently, in degraded mode and diverged - when that happens we can no longer use those members in combination.
First patch adds superblock facilities: we add a superblock sequence number field to bch_member, and a write time field to the superblock to detect cases when sb->seq is equal but they actually have diverged.
Second patch does the actual split brain detection and kicking out of devices when necessary.
Kent Overstreet (2):
bcachefs: bch_member->seq
bcachefs: Split brain detection
fs/bcachefs/bcachefs_format.h | 4 ++- fs/bcachefs/errcode.h | 1 + fs/bcachefs/sb-members.c | 5 ++++ fs/bcachefs/super-io.c | 10 +++++++ fs/bcachefs/super.c | 56 ++++++++++++++++++++++++++++------- 5 files changed, 64 insertions(+), 12 deletions(-)
Signature · 1 line
2.42.0