]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-ddf.c
DDF: implement kill_subarray
authormwilck@arcor.de <mwilck@arcor.de>
Mon, 8 Jul 2013 21:50:40 +0000 (23:50 +0200)
committerNeilBrown <neilb@suse.de>
Wed, 10 Jul 2013 00:40:43 +0000 (10:40 +1000)
commitf646805e808971a8dd874b8f7ae74f17c1b37f0b
tree3d00d39c542d6af0487ef6269f4fa4f1d37e89f7
parent19041058d2e3414db2bff4c2933224b10b65b0a8
DDF: implement kill_subarray

Implement kill_subarray, for mdmon running and not running.

The way Kill_subarray() is implemented, this requires that the
DDF layer uses "currentconf" to remember the last subarray
queried with container_content(), and use it as the one to kill.
I don't like this much but IMSM does it the same way.

Signed-off-by: NeilBrown <neilb@suse.de>
super-ddf.c