]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: target: core: Add initiatorname to NON_EXISTENT_LUN error
authorLance Digby <lance.digby@gmail.com>
Mon, 18 May 2020 01:02:16 +0000 (11:02 +1000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 20 May 2020 01:27:10 +0000 (21:27 -0400)
commit834bb0aff2b60efdd5d85c973d53a7953378cafb
tree89dc8fbe3ca3376339d265f42db9026e6dde3e57
parenta6903ea8b401cf33010fac6d5c2b3fc2d7f02604
scsi: target: core: Add initiatorname to NON_EXISTENT_LUN error

The NON_EXISTENT_LUN error can be written without an error condition
on the initiator responsible. Adding the initiatorname to this message
will reduce the effort required to fix this when many initiators are
supported by a target.

This version ensures the initiator name is also printed on the same message
in transport_lookup_tmr_lun for consistency.

Link: https://lore.kernel.org/r/9b13bb2e1f52f1792cd81850ee95bf3781bb5363.1589759816.git.lance.digby@gmail.com
Reviewed-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Lance Digby <lance.digby@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/target/target_core_device.c