public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Douglas Gilbert <dougg@torque.net>
To: James Bottomley <James.Bottomley@SteelEye.com>
Cc: SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: [PATCH] add SCSI reset ioctls to scsi_ioctl.c (and sd and sr)
Date: Mon, 20 Sep 2004 15:48:46 +1000	[thread overview]
Message-ID: <414E6F3E.4070502@torque.net> (raw)
In-Reply-To: <1095526671.2483.5.camel@mulgrave>

James Bottomley wrote:
> The purpose of this patch is to allow a SCSI reset to be issued directly
> to the devices without having to go via sg.  Because the reset may be
> issued even while the device is in recovery, this had to be done via a
> new api (sd won't invoke scsi_ioctl() while the device is in recovery).

James,
Perhaps there should be a new reset called:
     ...RESET_LOGICAL_UNIT

as this is now defined as a task management function in SAM-3.
If so ...RESET_DEVICE might get a synonym: ...RESET_TARGET.
Most transports support a RESET_TARGET while RESET_BUS is
SPI specific (is there an FCP equivalent?).

Doug Gilbert

  parent reply	other threads:[~2004-09-20  5:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-18 16:57 [PATCH] add SCSI reset ioctls to scsi_ioctl.c (and sd and sr) James Bottomley
2004-09-18 19:49 ` Kai Makisara
2004-09-19  2:39   ` James Bottomley
2004-09-20  5:48 ` Douglas Gilbert [this message]
2004-09-20 13:49   ` James Bottomley
2004-09-20 14:53   ` Luben Tuikov

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=414E6F3E.4070502@torque.net \
    --to=dougg@torque.net \
    --cc=James.Bottomley@SteelEye.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox