On Tue, 2017-09-26 at 06:45 +0800, Ming Lei wrote: > On Mon, Sep 25, 2017 at 04:22:29PM +0000, Bart Van Assche wrote: > > On Mon, 2017-09-25 at 10:38 +0800, Ming Lei wrote: > > > On Fri, Sep 22, 2017 at 03:14:00PM -0700, Bart Van Assche wrote: > > > > Some people use the md driver on laptops and use the suspend and > > > > resume functionality. Since it is essential that submitting of > > > > new I/O requests stops before device quiescing starts, make the > > > > md resync and reshape threads freezable. > > > > > > Why is this patch part of this patchset? I don't think > > > MD is special enough wrt. the SCSI quiesce issue. > > > > Because the scope of this patch series is not only to make SCSI quiesce safe > > but also to avoid that suspend and resume lock up with a storage stack that > > uses the md driver. > > If SCSI quiesce is safe, there shouldn't be suspend/resume lockup on any > SCSI device wrt. quiesce, right? Please reread my e-mail. You misread it. I didn't write that SCSI quiesce is safe. Bart.