mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
ib_srpt: Avoid that session logout hangs sporadically
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5339 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2132,6 +2132,10 @@ static int srpt_compl_thread(void *arg)
|
||||
break;
|
||||
schedule_timeout(HZ / 10);
|
||||
}
|
||||
if (!ch->last_wqe_received) {
|
||||
schedule_timeout(HZ);
|
||||
srpt_process_completion(ch);
|
||||
}
|
||||
set_current_state(TASK_RUNNING);
|
||||
|
||||
TRACE_DBG("ch %s: about to invoke scst_unregister_session()",
|
||||
|
||||
Reference in New Issue
Block a user