mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-19 11:41:26 +00:00
Let's proceed as implicit HQ only SIMPLE commands.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1937 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -3662,7 +3662,8 @@ static void scst_cmd_set_sn(struct scst_cmd *cmd)
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user