projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lpfc 8.3.25: Fabric and Target Discovery Fixes
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
scsi
/
scsi_trace.c
diff --git
a/drivers/scsi/scsi_trace.c
b/drivers/scsi/scsi_trace.c
index b587289cfacb08cd7efa0461d08da31e7f9be41f..2bea4f0b684af120dc57a3f843d6b4c699a4a220 100644
(file)
--- a/
drivers/scsi/scsi_trace.c
+++ b/
drivers/scsi/scsi_trace.c
@@
-59,6
+59,10
@@
scsi_trace_rw10(struct trace_seq *p, unsigned char *cdb, int len)
trace_seq_printf(p, "lba=%llu txlen=%llu protect=%u",
(unsigned long long)lba, (unsigned long long)txlen,
cdb[1] >> 5);
+
+ if (cdb[0] == WRITE_SAME)
+ trace_seq_printf(p, " unmap=%u", cdb[1] >> 3 & 1);
+
trace_seq_putc(p, 0);
return ret;