From: Matthew Dharm <mdharm-scsi@one-eyed-alien.net>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Andries.Brouwer@cwi.nl,
James Bottomley <James.Bottomley@SteelEye.com>,
greg@kroah.com, linux-scsi@vger.kernel.org,
linux-usb-devel@lists.sourceforge.net,
Linus Torvalds <torvalds@transmeta.com>,
usb-storage@one-eyed-alien.net
Subject: Re: [usb-storage] Re: PATCH: exclude certain commands from emulated SCSI hosts
Date: Tue, 22 Apr 2003 08:36:22 -0700 [thread overview]
Message-ID: <20030422083621.B28101@one-eyed-alien.net> (raw)
In-Reply-To: <1051021911.14880.25.camel@dhcp22.swansea.linux.org.uk>; from alan@lxorguk.ukuu.org.uk on Tue, Apr 22, 2003 at 03:31:52PM +0100
[-- Attachment #1: Type: text/plain, Size: 1641 bytes --]
On Tue, Apr 22, 2003 at 03:31:52PM +0100, Alan Cox wrote:
> On Maw, 2003-04-22 at 02:17, Matthew Dharm wrote:
> > Your patches went a long way to improving things. But, then people added
> > EVPD and further changed MODE_SENSE and other things. It's pretty clear
> > to me that trying to change the SCSI core to not use these commands isn't
> > going to happen -- so I want a way to filter them. I originally wanted a
> > centralized filter (i.e. usb-storage could indicate to the mid-layer not to
> > send the 'unwelcome' commands), but that got shot down in favor of a
> > centralized filter-framework which could be applied by any LLDD that wanted
> > to.
>
> You already can do this. You just need to write yourself a library
> routine which converts/blocks according to the filter rules (ie
> read6->read10, returns errors to fancy stuff etc).
I thought that the entire point was to have all this in a centralized place
for use by multiple LLDDs (or anyone else for that matter). Which is the
entire point of this discussion.
If it's not going to be accepted as a centralized filter-framework, then
I'll just add it to the usb-storage driver and leave it at that. But I'm
pretty certain that we will keep revisiting this issue as we see more and
more development of the SCSI core to support some more unusual commands and
we see more and more emulated-SCSI busses which choke on those commands.
Matt
--
Matthew Dharm Home: mdharm-usb@one-eyed-alien.net
Maintainer, Linux USB Mass Storage Driver
It was a new hope.
-- Dust Puppy
User Friendly, 12/25/1998
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
next prev parent reply other threads:[~2003-04-22 15:24 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-22 1:09 [usb-storage] Re: PATCH: exclude certain commands from emulated SCSI hosts Andries.Brouwer
2003-04-22 1:17 ` Matthew Dharm
2003-04-22 14:31 ` Alan Cox
2003-04-22 15:36 ` Matthew Dharm [this message]
2003-04-22 15:05 ` [linux-usb-devel] " Alan Cox
2003-04-22 18:48 ` Matthew Dharm
2003-04-22 16:07 ` James Bottomley
-- strict thread matches above, loose matches on Subject: below --
2003-04-22 18:44 Andries.Brouwer
2003-04-22 17:38 Andries.Brouwer
2003-04-22 18:23 ` Alan Stern
2003-04-22 17:22 Andries.Brouwer
2003-04-22 17:34 ` Mike Bursell
2003-04-22 17:37 ` James Bottomley
2003-04-22 18:50 ` Matthew Dharm
2003-04-22 17:08 Andries.Brouwer
2003-04-09 15:15 Pat LaVarre
2003-04-09 15:08 Pat LaVarre
2003-04-08 13:29 Pat LaVarre
2003-04-09 7:45 ` Douglas Gilbert
2003-03-24 19:16 Pat LaVarre
2003-03-24 20:20 ` Matthew Dharm
2003-03-24 18:17 Pat LaVarre
2003-03-24 18:19 ` Jens Axboe
2003-03-23 7:31 Matthew Dharm
2003-03-23 7:39 ` Linus Torvalds
2003-03-23 18:13 ` [usb-storage] " Matthew Dharm
2003-03-24 1:05 ` Douglas Gilbert
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=20030422083621.B28101@one-eyed-alien.net \
--to=mdharm-scsi@one-eyed-alien.net \
--cc=Andries.Brouwer@cwi.nl \
--cc=James.Bottomley@SteelEye.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=greg@kroah.com \
--cc=linux-scsi@vger.kernel.org \
--cc=linux-usb-devel@lists.sourceforge.net \
--cc=torvalds@transmeta.com \
--cc=usb-storage@one-eyed-alien.net \
/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