On Fri, Feb 24, 2017 at 11:19:05AM +0100, 王金浦 wrote: > Hi Coly, Hi Shaohua, > > > > > > Hi Shaohua, > > > > I try to catch up with you, let me try to follow your mind by the > > split-in-while-loop condition (this is my new I/O barrier patch). I > > assume the original BIO is a write bio, and original bio is split and > > handled in a while loop in raid1_make_request(). > > It's still possible for read bio. We hit a deadlock in the past. > See https://patchwork.kernel.org/patch/9498949/ > > Also: > http://www.spinics.net/lists/raid/msg52792.html Thanks Jinpu. So this is for the read side, where we don't have plug stuff. Yep, that finally makes sense. It's my fault I didn't look at the read side code carefully. Looks we need the patch Neil suggested. Thanks, Shaohua -- 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