1. NAME▲
scsi_device_quiesce - Block user issued commands.
2. SYNOPSIS ▲
int scsi_device_quiesce(struct scsi_device * sdev );
3. ARGUMENTS ▲
sdev
scsi device to quiesce.
4. DESCRIPTION ▲
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 doesnAqt guarantee the device will be totally quiescent.
Must be called with user context, may sleep.
Returns zero if unsuccessful or an error if not.
5. AUTHORS ▲
James Bottomley <>
Author.
Rob Landley <>
Author.
6. COPYRIGHT ▲