|
From: <vl...@us...> - 2015-11-06 03:49:16
|
Revision: 6582
http://sourceforge.net/p/scst/svn/6582
Author: vlnb
Date: 2015-11-06 03:49:14 +0000 (Fri, 06 Nov 2015)
Log Message:
-----------
Various SCST events producers
Prepared with help from Prasidh Srikanth <Pra...@sa...>
Modified Paths:
--------------
trunk/scst/src/scst_targ.c
Modified: trunk/scst/src/scst_targ.c
===================================================================
--- trunk/scst/src/scst_targ.c 2015-11-06 03:48:24 UTC (rev 6581)
+++ trunk/scst/src/scst_targ.c 2015-11-06 03:49:14 UTC (rev 6582)
@@ -4492,6 +4492,7 @@
"unexisting LU (initiator %s, target %s)?",
(unsigned long long int)cmd->lun,
cmd->sess->initiator_name, cmd->tgt->tgt_name);
+ scst_event_queue_lun_not_found(cmd);
}
scst_put(cmd->cpu_cmd_counter);
}
@@ -5966,6 +5967,8 @@
}
out:
+ scst_event_queue_tm_fn_received(mcmd);
+
TRACE_EXIT_RES(res);
return res;
}
@@ -7101,6 +7104,9 @@
res = !list_empty(&acg->acg_dev_list);
+ if (!res)
+ scst_event_queue_negative_luns_inquiry(tgt, initiator_name);
+
mutex_unlock(&scst_mutex);
TRACE_EXIT_RES(res);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|