zhengbin, > prep_to_mq will return BLK_STS_RESOURCE, and scsi_queue_rq will > transter it to BLK_STS_DEV_RESOURCE, which means that driver can > guarantee that IO dispatch will be triggered in future when the > resource is available. Need to follow the rule if we set the device > state to running. Applied to 5.1/scsi-fixes with a few tweaks. Thanks! -- Martin K. Petersen Oracle Linux Engineering