Why is SCSI_SENSE_BUFFERSIZE defined to be 96 bytes?

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

 



Hello there,

I was looking into scsi_cmnd.h

I found the following of scsi_cmnd structure:

105 #define SCSI_SENSE_BUFFERSIZE   96
106         unsigned char *sense_buffer;
107                                 /* obtained by REQUEST SENSE when
108                                  * CHECK CONDITION is received on original
109                                  * command (auto-sense) */


SPC defines the maximum length of sense data to be 252 bytes.
Why it is defined such in Linux?

Sorry if it is a frequently asked question.

Thanks,
Aaron
--
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