md-cluster: remove capabilities
authorGoldwyn Rodrigues <rgoldwyn@suse.de>
Tue, 14 Apr 2015 15:44:44 +0000 (10:44 -0500)
committerNeilBrown <neilb@suse.de>
Tue, 21 Apr 2015 21:59:39 +0000 (07:59 +1000)
commit88bcfef7be513e8bf5448e0025330fdd97c4c708
tree68cb889fecc9ab303a798bf9b43130701bb34460
parent57d051dccaef395e0d8c0fff02cfc3a77bacc88c
md-cluster: remove capabilities

This adds "remove" capabilities for the clustered environment.
When a user initiates removal of a device from the array, a
REMOVE message with disk number in the array is sent to all
the nodes which kick the respective device in their own array.

This facilitates the removal of failed devices.

Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md-cluster.c
drivers/md/md-cluster.h
drivers/md/md.c