On 07/14/15 04:59, Sagi Grimberg wrote:
+#define TARGET_SENSE_DESC_FORMAT(dev) \ + dev->transport->get_blocks(dev) >= 0xffffffffULL
From SPC-5: "4.4.4 Returning a value in the INFORMATION field in the sense data. To return a value less than or equal to FFFF_FFFFh in the INFORMATION field: [ ... ]". I think this means the value FFFF_FFFFh is allowed in fixed format sense data.
Bart. -- 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