|
From: <vl...@us...> - 2010-08-05 19:41:58
|
Revision: 1937
http://scst.svn.sourceforge.net/scst/?rev=1937&view=rev
Author: vlnb
Date: 2010-08-05 19:41:52 +0000 (Thu, 05 Aug 2010)
Log Message:
-----------
Let's proceed as implicit HQ only SIMPLE commands.
Modified Paths:
--------------
trunk/scst/src/scst_targ.c
Modified: trunk/scst/src/scst_targ.c
===================================================================
--- trunk/scst/src/scst_targ.c 2010-08-05 13:57:32 UTC (rev 1936)
+++ trunk/scst/src/scst_targ.c 2010-08-05 19:41:52 UTC (rev 1937)
@@ -3662,7 +3662,8 @@
TRACE_ENTRY();
- if (scst_is_implicit_hq(cmd)) {
+ if (scst_is_implicit_hq(cmd) &&
+ likely(cmd->queue_type == SCST_CMD_QUEUE_SIMPLE)) {
TRACE_SN("Implicit HQ cmd %p", cmd);
cmd->queue_type = SCST_CMD_QUEUE_HEAD_OF_QUEUE;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|