zfcp: trace full payload of all SAN records (req,resp,iels)
authorSteffen Maier <maier@linux.vnet.ibm.com>
Wed, 10 Aug 2016 16:30:53 +0000 (18:30 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 12 Aug 2016 20:17:12 +0000 (16:17 -0400)
commitaceeffbb59bb91404a0bda32a542d7ebf878433a
tree5bb7d9baebd85340da1f409dd32f50893fb96ae3
parent94db3725f049ead24c96226df4a4fb375b880a77
zfcp: trace full payload of all SAN records (req,resp,iels)

This was lost with commit 2c55b750a884b86dea8b4cc5f15e1484cc47a25c
("[SCSI] zfcp: Redesign of the debug tracing for SAN records.")
but is necessary for problem determination, e.g. to see the
currently active zone set during automatic port scan.

For the large GPN_FT response (4 pages), save space by not dumping
any empty residual entries.

Signed-off-by: Steffen Maier <maier@linux.vnet.ibm.com>
Fixes: 2c55b750a884 ("[SCSI] zfcp: Redesign of the debug tracing for SAN records.")
Cc: <stable@vger.kernel.org> #2.6.38+
Reviewed-by: Alexey Ishchuk <aishchuk@linux.vnet.ibm.com>
Reviewed-by: Benjamin Block <bblock@linux.vnet.ibm.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/s390/scsi/zfcp_dbf.c
drivers/s390/scsi/zfcp_dbf.h