Hi Are you thinking of also doing enhanced support for plain raid10? For example raid10 far layout lacks growing support. I once wrote up some ideas on how to implement growing support for raid10 far layout - it was posted on this list, but if you are interested I can send it again. best regards keld On Tue, Oct 09, 2018 at 10:59:41AM +0800, Guoqing Jiang wrote: > 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 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