Query: scsi_device_quiesce
OS: centos
Section: 9
Links: centos man pages all man pages
Forums: forum home forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SCSI_DEVICE_QUIESCE(9) SCSI mid layer SCSI_DEVICE_QUIESCE(9)NAMEscsi_device_quiesce - Block user issued commands.SYNOPSISint scsi_device_quiesce(struct scsi_device * sdev);ARGUMENTSsdev scsi device to quiesce.DESCRIPTIONThis 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. Returns zero if unsuccessful or an error if not.AUTHORSJames Bottomley <James.Bottomley@hansenpartnership.com> Author. Rob Landley <rob@landley.net> Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SCSI_DEVICE_QUIESCE(9)