On Wed, 2019-03-27 at 17:26 +0800, Ming Lei wrote: > Some of SCSI commands are allowed when the state is SDEV_QUIESCE, > what if these commands need EH to make progress?
Since scsi_target_block() changes the device state into SDEV_BLOCK I think this patch should check for the SDEV_BLOCK state instead of SDEV_QUIESCE. I will repost this patch series. Bart.

