On Wed, Jul 24, 2019 at 2:09 AM Guoqing Jiang <jgq516@xxxxxxxxx> wrote: > > Hi, > > The first patch adds the support for fail the last device in raid1/10 array, > and other two patches fix issue that the new added disk is set with In_sync > even it doesn't complete the synchorization of data. > > Thanks, > Guoqing Applied to my local branch. Thanks! > > Guoqing Jiang (3): > md: allow last device to be forcibly removed from RAID1/RAID10. > md: don't set In_sync if array is frozen > md: don't call spare_active in md_reap_sync_thread if all member > devices can't work > > drivers/md/md.c | 45 +++++++++++++++++++++++++++++++++++++++++---- > drivers/md/md.h | 1 + > drivers/md/raid1.c | 6 +++--- > drivers/md/raid10.c | 6 +++--- > 4 files changed, 48 insertions(+), 10 deletions(-) > > -- > 2.17.1 >