md-cluster: add CHANGE_CAPACITY message type
authorGuoqing Jiang <gqjiang@suse.com>
Wed, 1 Mar 2017 08:42:38 +0000 (16:42 +0800)
committerShaohua Li <shli@fb.com>
Thu, 16 Mar 2017 23:55:49 +0000 (16:55 -0700)
commit7da3d203330305695f38302c076ee0d32c005ede
treea06e9ba93fb67ebe7170824933c62f51aeb17f55
parent0ba959774e93911caff596de6391f085fb640ac4
md-cluster: add CHANGE_CAPACITY message type

The msg type CHANGE_CAPACITY is introduced to support
resize clustered raid in later patch, and it is sent
after all the nodes have the same sync_size, receiver
node just need to set new capacity once received this
msg.

Reviewed-by: NeilBrown <neilb@suse.com>
Signed-off-by: Guoqing Jiang <gqjiang@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/md-cluster.c