]> git.ipfire.org Git - thirdparty/mdadm.git/commit
DDF: compare_super_ddf: merge local info of other superblock
authormwilck@arcor.de <mwilck@arcor.de>
Fri, 1 Mar 2013 22:28:32 +0000 (23:28 +0100)
committerNeilBrown <neilb@suse.de>
Mon, 4 Mar 2013 05:15:06 +0000 (16:15 +1100)
commit4eefd651f01c1415a57f01f866fd5f2f1fb41da6
tree724e8e595c27b33bc40619ba8f3201e8bca0d4cd
parent2d210697649c51101f1bbf733b2b6b9e8bc3f551
DDF: compare_super_ddf: merge local info of other superblock

If a match is found in compare_super_ddf, check the other SB
for local DDF information (VD config records, physical disk data)
which is not available in the current superblock, and add it
if needed.

This is important for the mdmon - when disks are added to a
auto read-only array, they must be present in the DDF structure
in order to guarantee consistent writeback of metadata to all
disks.

Signed-off-by: Martin Wilck <mwilck@arcor.de>
Signed-off-by: NeilBrown <neilb@suse.de>
super-ddf.c