Man Page: scsi_internal_device_block
Operating Environment: suse
Section: 9
SCSI_INTERNAL_DEVICE(9) SCSI mid layer SCSI_INTERNAL_DEVICE(9)NAMEscsi_internal_device_block - internal function to put a device temporarily into the SDEV_BLOCK stateSYNOPSISint scsi_internal_device_block(struct scsi_device * sdev);ARGUMENTSsdev device to blockDESCRIPTIONBlock 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 notNOTESThis 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. This routine assumes the host_lock is held on entry.AUTHORSJames Bottomley <James.Bottomley@hansenpartnership.com> Author. Rob Landley <rob@landley.net> Author.COPYRIGHTKernel Hackers Manual 2.6. July 2010 SCSI_INTERNAL_DEVICE(9)
| Related Man Pages |
|---|
| makecom(9f) - opensolaris |
| sbp(4) - netbsd |
| scsi_get_device_type_scsi_options(9f) - sunos |
| tapset::scsi(3stap) - centos |
| tapset::scsi(3stap) - debian |
| Similar Topics in the Unix Linux Community |
|---|
| Is UNIX an open source OS ? |
| Change directory error |
| Getting command output to putty window title. |
| SOCKS proxy & PAM configuration exposure |
| 32 bit process addressing more than 4GB |