]> git.ipfire.org Git - thirdparty/mdadm.git/commit
mdmon: don't use 'ghost' values from an inactive array.
authorNeilBrown <neilb@suse.de>
Mon, 5 Aug 2013 05:40:16 +0000 (15:40 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 5 Aug 2013 05:40:16 +0000 (15:40 +1000)
commite49a8a80265ab2150c96b636450f5825bcd69d4a
treefc8211c66a6f0b20d3c0dd9500adf60130ec03c7
parent92939eb29175a0dc7c9c46ff70f95b76b693b796
mdmon: don't use 'ghost' values from an inactive array.

It is possible for mdmon to see (in /proc/mdstat) and array
in 'inactive' state, "mdadm -S" has written "inactive" to
"array_state".

In this state values such as "raid_disk" are not meaningful
and so should be ignored by manage_member().

Reported-by: "Dorau, Lukasz" <lukasz.dorau@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
managemon.c