V2 changes: 1. move md_p.h from the second patch to the first one to fix compile issues. 2. remove unnecessary code in patch 2 and 3. Hi, This series aim to change the capacity for clustered raid10 just like normal raid10. The first patch ensure all nodes have the same bitmap size before reshape. After that, master node broadcasts RESYNCING msg in reshape_request and slave nodes update reshape_position, this is achieved by the second patch. The 3rd patch addes sanity check for resync_info_get, and other patches are introduced to handle different kinds of cases which happened during grow clustered raid10. And the last patch cleans up suspend_info which is not necessary. Thanks, Guoqing Guoqing Jiang (8): md-cluster/raid10: resize all the bitmaps before start reshape md-cluster/raid10: support add disk under grow mode md-cluster: introduce resync_info_get interface for sanity check md-cluster/raid10: call update_size in md_reap_sync_thread md-cluster/raid10: don't call remove_and_add_spares during reshaping stage md-cluster/bitmap: don't call md_bitmap_sync_with_cluster during reshaping stage md-cluster: send BITMAP_NEEDS_SYNC message if reshaping is interrupted md-cluster: remove suspend_info drivers/md/md-cluster.c | 234 ++++++++++++++++++++++++++++++++---------------- drivers/md/md-cluster.h | 2 + drivers/md/md.c | 65 ++++++++++++-- drivers/md/md.h | 1 + drivers/md/raid10.c | 81 ++++++++++++++++- 5 files changed, 297 insertions(+), 86 deletions(-) -- 2.12.3