> -----Original Message----- > From: linux-scsi-owner@xxxxxxxxxxxxxxx [mailto:linux-scsi- > owner@xxxxxxxxxxxxxxx] On Behalf Of Andras Kovacs > Sent: Friday, 07 November, 2014 5:30 PM > To: linux-scsi@xxxxxxxxxxxxxxx > Subject: UNMAP command parameter list > > > Hi all, > > I'm trying to see what parameters are passed to the UFS driver from the > SCSI midlayer when an UNMAP command is issued. In the UFS driver I can see > the 10 byte command itself in the unsigned char *cmnd field of the struct > scsi_cmnd, and it tells me that the parameter list length is 24 bytes (an 8 > byte UNMAP Parameter List header followed by one 16 byte long UNMAP Block > Descriptor), but I'm having trouble finding where this UNMAP Parameter List > is. It doesn't seem to be in the cmnd[] byte array after the UNMAP > command itself. > > Can anyone tell me where I can find the UNMAP Parameter List which > belongs to a particular UNMAP command? > > Any and all info would be greatly appreciated. > > Andras That is the data transferred for the command, not in the command descriptor block itself. Typical T10 terminology is: * parameter list = data-out buffer (i.e., write data) * parameter data = data-in buffer (i.e., read data) --- Rob Elliott HP Server Storage -- 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