.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "SCSI_DEVICE_QUIESCE" "9" "09 October 2005" "" "" .SH NAME scsi_device_quiesce \- Block user issued commands. .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int scsi_device_quiesce (struct scsi_device * \fIsdev\fB); \fR .SH "ARGUMENTS" .TP \fB\fIsdev\fB\fR scsi device to quiesce. .SH "DESCRIPTION" .PP This works by trying to transition to the SDEV_QUIESCE state (which must be a legal transition). When the device is in this state, only special requests will be accepted, all others will be deferred. Since special requests may also be requeued requests, a successful return doesn't guarantee the device will be totally quiescent. .PP Must be called with user context, may sleep. .PP Returns zero if unsuccessful or an error if not.