RE: [usb-storage] Re: PATCH: exclude certain commands from emulated SCSI hosts

Pat LaVarre
2003-03-24T19:16:29Z

> > On Sat, Mar 22, 2003 at 11:39:05PM -0800, Linus
> > Torvalds wrote:
> >
> > > How about making the SCSI stuff pass a "common"
> > > flag (or "required") down with the command?
> > > Then, a emulated thing could just decide to
> > > punt all commands with an immediate failure if
> > > they aren't marked "required".
> >
> > > That still _allows_ the driver to implement it
> > > if it wants to, unlike your previous approach.

In particular, passing CDB's thru sg will mark them
Required, until/ unless we rev sg to let its client
choose to say Required or not?

Pat LaVarre