ib_srpt: Add a comment

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4062 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2012-01-11 19:16:18 +00:00
parent edcddde130
commit dae7bfc068

View File

@@ -2023,6 +2023,10 @@ static int srpt_compl_thread(void *arg)
ch->sess_name);
scst_unregister_session(ch->scst_sess, false, srpt_free_ch);
/*
* Some HCAs can queue send completions after the Last WQE
* event. Make sure to process these work completions.
*/
while (!kthread_should_stop()) {
set_current_state(TASK_INTERRUPTIBLE);
srpt_process_completion(ch->cq, ch, SCST_CONTEXT_THREAD,