]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: zfcp: trace channel log even for FCP command responses
authorSteffen Maier <maier@linux.ibm.com>
Fri, 25 Oct 2019 16:12:53 +0000 (18:12 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 29 Oct 2019 02:16:15 +0000 (22:16 -0400)
commite3d894bc63b9a87d4c6c154ec85c14209eeefc0b
treec3884ac9b15e7c5a67ac88b8b05379bc1b29de55
parentf40499f6e9e57afc9af0570eb7cacd37e69c14e5
scsi: zfcp: trace channel log even for FCP command responses

While v2.6.26 commit 6cdf0e081b3b ("[SCSI] zfcp: Add qtcb dump to hba debug
trace") is right that we don't want to flood the (payload) trace ring
buffer, we don't trace successful FCP command responses by default.  So we
can include the channel log for problem determination with failed responses
of any FSF request type.

Fixes: 6cdf0e081b3b ("[SCSI] zfcp: Add qtcb dump to hba debug trace")
Fixes: 322b3c23ed67 ("[SCSI] zfcp: Redesign of the debug tracing for HBA records.")
Cc: <stable@vger.kernel.org> #2.6.38+
Link: https://lore.kernel.org/r/e37597b5c4ae123aaa85fd86c23a9f71e994e4a9.1572018132.git.bblock@linux.ibm.com
Reviewed-by: Benjamin Block <bblock@linux.ibm.com>
Signed-off-by: Steffen Maier <maier@linux.ibm.com>
Signed-off-by: Benjamin Block <bblock@linux.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/s390/scsi/zfcp_dbf.c