mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 18:51:27 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user