scsi_device_quiesce (9) - Linux Man Pages
scsi_device_quiesce: Block user issued commands.
scsi_device_quiesce - Block user issued commands.
int scsi_device_quiesce(struct scsi_device
- scsi device to quiesce.
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.
Must be called with user context, may sleep.
James Bottomley <James.Bottomley [at] hansenpartnership.com>
Rob Landley <rob [at] landley.net>