Let's have the retry slow start more agressive

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4818 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2013-03-26 21:36:05 +00:00
parent de47a40fa0
commit 11ddefba2a

View File

@@ -5496,7 +5496,7 @@ void scst_check_retries(struct scst_tgt *tgt)
spin_unlock(&c->cmd_threads->cmd_list_lock);
need_wake_up++;
if (need_wake_up >= 2) /* "slow start" */
if (need_wake_up >= 20) /* "slow start" */
break;
}
spin_unlock_irqrestore(&tgt->tgt_lock, flags);