scsi_internal_device_unblock - resume a device after a block request
2. SYNOPSIS ▲
int scsi_internal_device_unblock(struct scsi_device * sdev , enum scsi_device_state new_state );
3. ARGUMENTS ▲
device to resume
state to set devices to after unblocking
4. DESCRIPTION ▲
Called by scsi lldAqs or the midlayer to restart the device queue for the previously suspended scsi device. Called from interrupt or normal process context.
Returns zero if successful or error if not.
5. NOTES ▲
This routine transitions the device to the SDEV_RUNNING state or to one of the offline states (which must be a legal transition) allowing the midlayer to goose the queue for this device.
6. AUTHORS ▲
James Bottomley <
Rob Landley <
7. COPYRIGHT ▲