]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
scsi: qla2xxx: target: Improve cmd logging
authorTony Battersby <tonyb@cybernetics.com>
Mon, 10 Nov 2025 16:03:25 +0000 (11:03 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 12 Nov 2025 23:17:28 +0000 (18:17 -0500)
commit04957d8c9852d8772321c4594242162d87f668aa
treef4f74f92823ffd01b0e0a1ea9a9fcd9b23e4c492
parentf4199d5812561466a26fadba8ad044e346e58b3c
scsi: qla2xxx: target: Improve cmd logging

 - Add the command tag to various messages so that different messages
   about the same command can be correlated.

 - For CTIO errors (i.e. when the HW reports an error about a cmd),
   print the cmd tag, opcode, state, initiator WWPN, and LUN.  This info
   helps an administrator determine what is going wrong.

 - When a command experiences a transport error, log a message when it
   is freed.  This makes debugging exceptions easier.

Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Link: https://patch.msgid.link/c579987d-5658-41ae-9653-f0e58c9d1880@cybernetics.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_dbg.c
drivers/scsi/qla2xxx/qla_target.c