Man Page: scsi_internal_device_unblock
Operating Environment: centos
Section: 9
SCSI_INTERNAL_DEVICE(9) SCSI mid layer SCSI_INTERNAL_DEVICE(9)NAMEscsi_internal_device_unblock - resume a device after a block requestSYNOPSISint scsi_internal_device_unblock(struct scsi_device * sdev, enum scsi_device_state new_state);ARGUMENTSsdev device to resume new_state state to set devices to after unblockingDESCRIPTIONCalled by scsi lld's 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.NOTESThis 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.AUTHORSJames Bottomley <James.Bottomley@hansenpartnership.com> Author. Rob Landley <rob@landley.net> Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SCSI_INTERNAL_DEVICE(9)