SCSI_INTERNAL_DEVICE_UNBLOCK

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

scsi_internal_device_unblock - resume a device after a block request  

SYNOPSIS

"SYNOPSIS"

int scsi_internal_device_unblock (struct scsi_device * sdev);  

ARGUMENTS

sdev
device to resume
 

DESCRIPTION

Called 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.  

NOTES

This routine transitions the device to the SDEV_RUNNING state (which must be a legal transition) allowing the midlayer to goose the queue for this device. This routine assumes the host_lock is held upon entry.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
NOTES

This document was created by man2html, using the manual pages.
Time: 00:02:45 GMT, October 09, 2005