New API: md-stop for stopping MD devices
authorWanlong Gao <wanlong.gao@gmail.com>
Thu, 24 Nov 2011 13:06:07 +0000 (21:06 +0800)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 24 Nov 2011 13:24:17 +0000 (13:24 +0000)
commitcbd1c45d95c530c8d94103dcc2c521bf5501ef59
treeb056a6cf0fd613411933d407a34c09215c25c72c
parent182c25b2a42e9a8f76beba440da328e37f18c9b9
New API: md-stop for stopping MD devices

This API is used to stop a md device.
When we want to move a device to another md array, we should
stop the md device which contained this device first.

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
daemon/md.c
generator/generator_actions.ml
regressions/test-mdadm.sh
src/MAX_PROC_NR