centos man page for scsi_internal_device_block

Query: scsi_internal_device_block

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_block - internal function to put a device temporarily into the SDEV_BLOCK state
SYNOPSIS
int scsi_internal_device_block(struct scsi_device * sdev);
ARGUMENTS
sdev device to block
DESCRIPTION
Block request made by scsi lld's to temporarily stop all scsi commands on the specified 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_BLOCK state (which must be a legal transition). When the device is in this state, all commands are deferred until the scsi lld reenables the device with scsi_device_unblock or device_block_tmo fires.
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
makecom(9f) - opensolaris
rescan-scsi-bus(8) - debian
scsi-spin(8) - debian
sg_reset(8) - suse
sbp(4) - netbsd
Similar Topics in the Unix Linux Community
Weird 'find' results
Best performance UNIX just for HOST Virtualization?
DB2 convert digits to binary format
Unsure why access time on a directory change isn't changing
CentOS 6 ran out of space, need to reclaim it