]> git.ipfire.org Git - thirdparty/mdadm.git/commit
FIX: imsm: Do not change serial if disk failed
authorKrzysztof Wojcik <krzysztof.wojcik@intel.com>
Wed, 23 Mar 2011 23:15:01 +0000 (10:15 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 23 Mar 2011 23:15:01 +0000 (10:15 +1100)
commitb4add146a02286102916a815f2ed0ba3f76cfd7b
tree805dcc995957b9e895ad6f9ce4aa1497f97af92b
parente53d022c726ffbc83b8bfc574df76bb7984d1982
FIX: imsm: Do not change serial if disk failed

This patch rollback one change connected with mdadm-OROM
compatibility:
adding ':0' at the end of disk serial number if disk is
detected as failed.
Current mdadm's implementation does not distinguish two
cases when disk is marked as failed:
1. If disk is really failed- disconnected, broken
2. Just marked as failed by mdadm- using "-f" option

Second case is not yet fully handled and compatible with
IMSM standard.
Changing serial number of existing, operational disk causes
problems in "thunderdome" and "load_super" functions that use
serial numbers to disks comparisons and searching.
The change must be recalled until full support will be
developed.

Signed-off-by: Krzysztof Wojcik <krzysztof.wojcik@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
super-intel.c