1SCSI_INTERNAL_DEVICE(9) SCSI mid layer SCSI_INTERNAL_DEVICE(9)
2
3
4
6 scsi_internal_device_unblock - resume a device after a block request
7
9 int scsi_internal_device_unblock(struct scsi_device * sdev);
10
12 sdev
13 device to resume
14
16 Called by scsi lld's or the midlayer to restart the device queue for
17 the previously suspended scsi device. Called from interrupt or normal
18 process context.
19
20 Returns zero if successful or error if not.
21
23 This routine transitions the device to the SDEV_RUNNING state (which
24 must be a legal transition) allowing the midlayer to goose the queue
25 for this device. This routine assumes the host_lock is held upon entry.
26
28 James Bottomley <James.Bottomley@hansenpartnership.com>
29 Author.
30
31 Rob Landley <rob@landley.net>
32 Author.
33
35Kernel Hackers Manual 2.6. November 2011 SCSI_INTERNAL_DEVICE(9)