]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-intel.c
imsm: fix: thunderdome may drop 2tb attribute
authorCzarnowska, Anna <anna.czarnowska@intel.com>
Mon, 2 Apr 2012 20:59:03 +0000 (20:59 +0000)
committerNeilBrown <neilb@suse.de>
Sun, 29 Apr 2012 23:57:37 +0000 (09:57 +1000)
commit5d7b407adbae2b33bd69e1f9a5099cce6653d3fe
tree78a10d07db26828d435e566586709579000d5594
parent012a8641290e566f87f1d52f54022752c39ee326
imsm: fix: thunderdome may drop 2tb attribute

Spare superblock doesn't depend on other spares in container.
When loading container metadata thunderdome
may pick a small disk for the champion. This will result in incorrect
interpretation of sizes of other disks in container when joint superblock
is returned. If any disk in container has the 2TB attribute set, the result
must have it set too.

Signed-off-by: Anna Czarnowska <anna.czarnowska@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
super-intel.c