]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Monitor.c
Monitor: don't complain about non-monitorable arrays in mdadm.conf
authorNeilBrown <neilb@suse.de>
Wed, 24 Oct 2012 02:09:09 +0000 (13:09 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 24 Oct 2012 02:09:09 +0000 (13:09 +1100)
commitf1661bd71bec6a8ae1919dc32a227c6fb37843f2
tree61171571be032858c13bd9d48f2c9cb844d9723c
parent839f27a38057a56b213d3e873925712c1c3f4b34
Monitor: don't complain about non-monitorable arrays in mdadm.conf

If we are asked to monitor a RAID0 or Linear - which cannot be
monitored - we complain with "Device Disappeared .... Wrong-Level".

However if the RAID0 or Linear is being requested because it is
in mdadm.conf then the message is inappropriate and confusing.

So track which arrays are added from the config file, and suppress
that message in that case.

Reported-by: "Johnson Yan" <johnson_yan@usish.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Monitor.c