On Fri, 2017-06-02 at 09:18 +0200, Christoph Hellwig wrote: > On Thu, Jun 01, 2017 at 04:27:05PM -0700, Bart Van Assche wrote: > > If a device is blocked, make __scsi_remove_device() cause it to > > transition to the DEL state. This means that all the commands > > issued in .shutdown() will error in the mid-layer, thus making > > the removal proceed without being stopped. > > > > This patch is a slightly modified version of a patch from James > > Bottomley. This patch avoids that the following lockup occurs: > > Do we really need the printk for this case? And if we do we should > probably rate limit it. Hello Christoph, The printk statement was useful during debugging to confirm that the code path with the printk was hit. I will remove the printk. Bart.