]> git.ipfire.org Git - thirdparty/mdadm.git/commit - managemon.c
mdmon: Stop keeping track of RAID0 (and LINEAR) arrays.
authorNeilBrown <neilb@suse.de>
Tue, 22 Mar 2011 06:23:17 +0000 (17:23 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 22 Mar 2011 06:23:17 +0000 (17:23 +1100)
commit7023e0b8aed8807b0c394f61a3c4ac937dbd6b86
tree47ecc097ffa00c697833f839243279dc2043f22f
parentd998b738f5b91e6058659b459e5b9e3717d085f6
mdmon: Stop keeping track of RAID0 (and LINEAR) arrays.

Tracking RAID0 arrays doesn't really work.  There is no need,
and there are some sysfs files which won't exist when the array
appears and then won't be opened when the level is changed.

So simply ignore RAID0 and LINEAR arrays - don't add them when they
appear and if an array we are monitoring turns into one of these,
discard it promptly.

Signed-off-by: NeilBrown <neilb@suse.de>
managemon.c
monitor.c