]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Monitor: Check redundancy for arrays
authorMariusz Tkaczyk <mariusz.tkaczyk@intel.com>
Mon, 4 Sep 2017 10:52:46 +0000 (12:52 +0200)
committerJes Sorensen <jsorensen@fb.com>
Mon, 2 Oct 2017 19:44:14 +0000 (15:44 -0400)
commitb3ab4e4dd78668f58deb87a04eebda62d1090b49
treef04a15d55c7db38c049c98beb6543c44ade08b64
parentc6839718190d7418aadc858edafb8fb4b67287b0
Monitor: Check redundancy for arrays

GET_MISMATCH option doesn't exist for RAID arrays without redundancy
so sysfs_read fails if this information is requested. Set options
according to the device using information from /proc/mdstat.

Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@intel.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Monitor.c