From: James Bottomley <James.Bottomley@steeleye.com>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: SCSI synchronization and error handling
Date: 30 Jun 2004 19:49:48 -0500 [thread overview]
Message-ID: <1088642994.1888.5.camel@mulgrave> (raw)
In-Reply-To: <40E317D9.80904@pobox.com>
On Wed, 2004-06-30 at 14:43, Jeff Garzik wrote:
> What's the best way to ensure that the SMART command is only executed
> after preceding, queued commands are completed? My guess is to return
> MLQUEUE_BUSY if (a) ->queuecommand is passed a non-queued command AND
> (b) there are commands queued to hardware already.
So you have to quiesce the device before issuing the smart command? In
which case, scsi_quiesce_device() is the API you want. Or is this some
type of command ordering problem you're trying to solve?
James
prev parent reply other threads:[~2004-07-01 0:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-30 19:43 SCSI synchronization and error handling Jeff Garzik
2004-07-01 0:49 ` James Bottomley [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1088642994.1888.5.camel@mulgrave \
--to=james.bottomley@steeleye.com \
--cc=jgarzik@pobox.com \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.