]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Monitor/check_array: Get nr_disks, active_disks and spare_disks from sysfs
authorJes Sorensen <jsorensen@fb.com>
Tue, 9 May 2017 21:03:03 +0000 (17:03 -0400)
committerJes Sorensen <jsorensen@fb.com>
Tue, 9 May 2017 21:06:09 +0000 (17:06 -0400)
commitb98943a4f889b466a3d07264068042b18c620d33
treef77cc8aa7cfadb13f1435b1fc00f4ba395b3f1cd
parent12a9d21f4e9fd4d3a14129407f1e8da6d6444cd6
Monitor/check_array: Get nr_disks, active_disks and spare_disks from sysfs

This leaves working_disks and utime missing before we can eliminate
check_array()'s call to md_get_array_info()

Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Monitor.c