tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: linux_sg.c modification for SCSI Test Unit Ready command



On Tue, Mar 18, 2008 at 11:46AM -0700, Bill Stouder-Studenmund wrote:
>> +            case SG_DXFER_NONE:
>> +                    /* e.g. a SCSI Test Unit Ready command */
>> +                    req.flags = SCCMD_ESCAPE;
>
>I don't think that's correct. I think you want "0", not SCCMD_ESCAPE. At
>least that's what scsictl tur uses as best I can tell.

That seems to be the correct answer.  I'll verify on my backup server
that it still works, then commit.

>I think you are correct, though, to add something for SG_DXFER_NONE. :-)

I know I need it.  I suspect not very many people do. :)

-Tracy


Home | Main Index | Thread Index | Old Index