]> git.ipfire.org Git - thirdparty/mdadm.git/commit
FIX: Do not use layout for raid4 and raid0 while geo map computing
authorAdam Kwolek <adam.kwolek@intel.com>
Fri, 3 Dec 2010 04:03:25 +0000 (15:03 +1100)
committerNeilBrown <neilb@suse.de>
Fri, 3 Dec 2010 04:03:25 +0000 (15:03 +1100)
commitb6e317c83ac95354c18e4946c5505fbe1401b558
treee252c5fb5ec9324f9bd8c719f02dfbb4d1620afb
parente6e9d47b76227f4f30e27dcd00e6b0d815370b7c
FIX: Do not use layout for raid4 and raid0 while geo map computing

After takeover, layout has no meaning for computing geo map for raid0
and raid4.  Set layout to 0 for such cases.  It can happen after
takeover operation when not all array information is reread.

Signed-off-by: Adam Kwolek <adam.kwolek@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
restripe.c