Re: Does Linux support 32-byte CDBs

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

 



Hi Andrew,

(Adding CC' to linux-scsi, as it's a more appropriate venue than the
target list)

On Mon, 2013-09-16 at 13:27 -0700, Andrew Falanga wrote:
> Hello,
> 
> I truly hope that this is the correct forum for this question.  If
> not, forgive me and if possible, please direct me to the correct
> forum.  My question is quite simple (I hope the answer is equally
> simple).  Does Linux support 32-byte CDBs in SCSI?  I've done enough
> research that I think the answer may depend on the kernel version in
> use, and the particular upper layer driver in use (i.e. sd, sg, bsg,
> etc.).  If so, the relevant information from my linux system is:
> 
> * CentOS 6.2  -- 2.6.32-71 kernel  32-bit
> 
> I'd be using the SG driver.
> 

My understanding is that you need to use BSG in order to submit > 16
byte CDBs from userspace.

Also, sd.c will generate > 16 byte CDBs (eg: WRITE_32 + READ_32) when
DIF protection is enabled.

I believe that both are supported on v2.6.32.x, but you might want to
double check to be sure.

--nab


--
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