centos man page for scsi_internal_device_unblock

Query: scsi_internal_device_unblock

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SCSI_INTERNAL_DEVICE(9) 					  SCSI mid layer					   SCSI_INTERNAL_DEVICE(9)

NAME
scsi_internal_device_unblock - resume a device after a block request
SYNOPSIS
int scsi_internal_device_unblock(struct scsi_device * sdev, enum scsi_device_state new_state);
ARGUMENTS
sdev device to resume new_state state to set devices to after unblocking
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 or to one of the offline states (which must be a legal transition) allowing the midlayer to goose the queue for this device.
AUTHORS
James Bottomley <James.Bottomley@hansenpartnership.com> Author. Rob Landley <rob@landley.net> Author.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 SCSI_INTERNAL_DEVICE(9)
Related Man Pages
blk_init_queue(9) - centos
srp_reconnect_rport(9) - centos
struct_bus_type(9) - centos
struct_device_driver(9) - centos
fc_remote_port_delete(9) - suse
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
How to increment version inside a file?
Shopt -s histappend
Unsure why access time on a directory change isn't changing
Controlling user input