diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-03-08 16:10:08 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-03-13 21:22:26 -0400 |
commit | c42006458b4239b7eb50f33af523b67c7a55e42e (patch) | |
tree | d1b1f90ddd3b531cb2330a23acdb1e8410089908 /fs/bcachefs/btree_update_interior.c | |
parent | 5e105fb806c622cd8b3da0031e74367a3b8a326b (diff) | |
download | lwn-c42006458b4239b7eb50f33af523b67c7a55e42e.tar.gz lwn-c42006458b4239b7eb50f33af523b67c7a55e42e.zip |
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: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_update_interior.c')
0 files changed, 0 insertions, 0 deletions