Damien, > scsi_rescan_device() takes a scsi device lock before executing a > device handler and device driver rescan methods. Waiting for the > completion of any command issued to the device by these methods will > thus be done with the device lock held. As a result, there is a risk > of deadlocking within the power management code if > scsi_rescan_device() is called to handle a device resume with the > associated scsi device not yet resumed. Reviewed-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx> -- Martin K. Petersen Oracle Linux Engineering