Re: Linux Virtual SCSI HBAs and Virtual disks

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

 



Aboo Valappil wrote:
> What would i do if the SCSI target does not return any sense code? I
> make some thing up or just return no-sense?

I guess it depends on whether the in-kernel part of your software stack
actually knows enough details to generate correct sense codes.

> In the new version, I made up  SK="Illegal request", ASC="Invalid
> Opcode" if I do not receive any sense from target. But I think I
> should return  no sense, ie SK=0, ASC=0, ASCQ=0.

I think ASC/ASCQ = 0/0 = "no additional sense information" would indeed
be correct on such occasions.
-- 
Stefan Richter
-=====-=-=== ---= ==--=
http://arcgraph.de/sr/
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux