[SCSI] scsi_trace: Enhance SCSI command tracing
authorMartin K. Petersen <martin.petersen@oracle.com>
Tue, 23 Mar 2010 05:16:57 +0000 (01:16 -0400)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 30 Apr 2010 17:52:08 +0000 (12:52 -0500)
commitc446c1f9907e84d014edb0bf3501f30cb512e06a
treeb4271bbcfb1ecaedb99428461bd22f56a5121366
parentbf81623542332bc2cedf3db49cbb2edb724780d2
[SCSI] scsi_trace: Enhance SCSI command tracing

Various SCSI trace enhancements:

 - Display data and protection information scatterlist lengths in the
   trace output

 - Add support for VERIFY and WRITE SAME commands and decode the UNMAP
   bit if applicable

 - Add decoding of the PROTECT field for READ/VERIFY/WRITE/WRITE SAME
   commands as well as the EXPECTED INITIAL REFERENCE TAG field for
   their 32-byte variants

 - Decode READ CAPACITY(16), GET LBA STATUS, and UNMAP

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/scsi_trace.c
include/trace/events/scsi.h