[8137] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: [PATCH] scsi reset from user space

daemon@ATHENA.MIT.EDU (Robin T. Miller)
Mon Feb 21 09:47:46 2000

Message-ID: <38B13E6B.34A4FCA9@compaq.com>
Date:   Mon, 21 Feb 2000 08:32:27 -0500
From: "Robin T. Miller" <Robin.Miller@compaq.com>
MIME-Version: 1.0
To: Kurt Garloff <garloff@suse.de>
Cc: Douglas Gilbert <dgilbert@interlog.com>,
	linux-scsi@vger.rutgers.edu, James.Bottomley@columbiasc.ncr.com
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Kurt Garloff wrote:
> 
> On Sun, Feb 06, 2000 at 12:49:48PM -0500, Douglas Gilbert wrote:
> > James Bottomley (James.Bottomley@columbiasc.ncr.com) recently sent
> > me a patch that enables a scsi reset to be called from the user
> > space. It uses an ioctl() found in recent sg drivers called
> > SG_SCSI_RESET that was defined but previously did nothing.
> 
> As a sidenote: If you are developing SCSI drivers, you certainly need it. I
> do at least. That's why I have such a functionality in my drivers since
> quite a time. I would happily remove it in favour of a generic solution.

	The ability to do SCSI bus/device resets and aborting outstanding I/O
is invaluable to those of us doing device qualification.  We not only verify
the device handles them properly, but it forces the driver down error paths
not normally invoked.

	Most folks use BDR's or BR's to free up hung devices (I think).

Regards,
Robin
> 
> Regards,
> --
> Kurt Garloff  <garloff@suse.de>                          Eindhoven, NL
> GPG key: See mail header, key servers         Linux kernel development
> SuSE GmbH, Nuernberg, FRG                               SCSI, Security
> 
>   ----------------------------------------------------------------------------------------------------
>    Part 1.2Type: application/pgp-signature

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post