On 9/17/21 8:38 PM, Hao Xu wrote: > Leverage completion cache to handle completions of poll requests in a > batch. > Good thing is we save compl_nr - 1 completion_lock and > io_cqring_ev_posted. > Bad thing is compl_nr extra ifs in flush_completion. It does something really wrong breaking all abstractions, we can't go with this. Can we have one of those below? - __io_req_complete(issue_flags), forwarding issue_flags from above - or maybe io_req_task_complete(), if we're in tw In any case, I'd recommend sending it separately from fixes. -- Pavel Begunkov