----- Original Message ----- > From: "NeilBrown" <neilb@xxxxxxxx> > To: "Xiao Ni" <xni@xxxxxxxxxx> > Cc: linux-raid@xxxxxxxxxxxxxxx > Sent: Tuesday, September 12, 2017 9:49:12 AM > Subject: [PATCH 0/4] RFC: attempt to remove md deadlocks with metadata without > > Hi, > I looked again at the previous patch I posted which tried to mak > md_update_sb() safe without taking reconfig_mutex, and realized that > it had serious problems, particularly around devices being added or > removed while the update was happening. > > So I decided to try a different approach, which is embodied in these > patches. The md thread is now explicitly allowed to call > md_update_sb() while some other thread holds the lock and > waits for mddev_suspend() to complete. > > Please test these and confirm that they still address the problem you > found. Hi Neil Thanks for the patches. I'll update the test result. Regards Xiao -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html