[SCSI] Include protection operation in SCSI command trace
authorMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Mar 2011 07:03:59 +0000 (02:03 -0500)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 14 Mar 2011 23:36:02 +0000 (18:36 -0500)
commit72f7d322fd60ce1a0579136dec7b26b0801ded4b
treea1b6bbe30bcff290018ec9618128e4f82012dd29
parent9143a9612277abc6e4ddced2bc54a120734834c6
[SCSI] Include protection operation in SCSI command trace

When debugging DIF/DIX it is very helpful to be able to see which DIX
operation is associated with the scsi_cmnd. Include the protection op in
the SCSI command trace.

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