util: Introduce md_get_array_info()
authorJes Sorensen <Jes.Sorensen@gmail.com>
Wed, 29 Mar 2017 18:35:41 +0000 (14:35 -0400)
committerJes Sorensen <Jes.Sorensen@gmail.com>
Wed, 29 Mar 2017 18:35:41 +0000 (14:35 -0400)
commit9cd39f015558dba82c293a4433b481b921ceec87
tree324f4d170f41b88d9941b06c832638a0ba232950
parent6ebf34e6bdd9e952d00ad3c2f12a130bfb68965e
util: Introduce md_get_array_info()

Remove most direct ioctl calls for GET_ARRAY_INFO, except for one,
which will be addressed in the next patch.

This is the start of the effort to clean up the use of ioctl calls and
introduce a more structured API, which will use sysfs and fall back to
ioctl for backup.

Signed-off-by: Jes Sorensen <Jes.Sorensen@gmail.com>
Create.c
Detail.c
Grow.c
Incremental.c
Manage.c
Monitor.c
Query.c
mdadm.h
mdassemble.c
util.c