From 431acc0d1f1d7a40fca2d9813c60b4bd77a04570 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Thu, 7 Jul 2011 21:35:29 +0000 Subject: [PATCH] Merged revisions 3663 via svnmerge from https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk ........ r3663 | vlnb | 2011-07-07 15:58:11 -0400 (Thu, 07 Jul 2011) | 3 lines Let's print initiator and target names for not found LUNs to simplify diagnostics ........ git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3670 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/scst_targ.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scst/src/scst_targ.c b/scst/src/scst_targ.c index 499aa8986..eceac2207 100644 --- a/scst/src/scst_targ.c +++ b/scst/src/scst_targ.c @@ -3848,8 +3848,9 @@ static int scst_translate_lun(struct scst_cmd *cmd) if (res != 0) { TRACE(TRACE_MINOR, "tgt_dev for LUN %lld not found, command to " - "unexisting LU?", - (long long unsigned int)cmd->lun); + "unexisting LU (initiator %s, target %s)?", + (long long unsigned int)cmd->lun, + cmd->sess->initiator_name, cmd->tgt->tgt_name); scst_put(cmd->cpu_cmd_counter); } } else {