diff options
author | NeilBrown <neilb@suse.de> | 2014-04-02 06:26:35 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2014-04-02 06:26:35 +0200 |
commit | f43f5b32991c7f5a188940b00989c27f87feee81 (patch) | |
tree | f0a4809492263b4f655f06220f3e66495bb7cc2b /udev-md-raid-arrays.rules | |
parent | DDF: fix possible mdmon crash when updating metadata. (diff) | |
download | mdadm-f43f5b32991c7f5a188940b00989c27f87feee81.tar.xz mdadm-f43f5b32991c7f5a188940b00989c27f87feee81.zip |
DDF: Don't fail compare_super_ddf due to re-configure changes.
It is possible that one device has seem some reconfig but the other
hasn't. In that case they are still the "same" DDF, even though
one might be older. Such age will be detected by 'seq' differences.
If A is new and B is old, then it is import that
mdadm -I B
mdadm -I A
doesn't get confused because A has the same uuid as B, but compare_super fails.
So: if the seq numbers are different, then just accept as two
different superblocks.
If they are the same, then look to copy data from new to old.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'udev-md-raid-arrays.rules')
0 files changed, 0 insertions, 0 deletions