On 1/29/21 4:46 AM, Pavel Begunkov wrote: > It doesn't apply well, not for 5.11 nor for-5.12, and one more > comment below This patch was prepared on top of Linus' master branch. I will rebase it on top of Jens' for-next branch. >> req = list_first_entry(done, struct io_kiocb, inflight_entry); >> - if (READ_ONCE(req->result) == -EAGAIN) { >> + if (smp_load_acquire(&req->iopoll_completed) && > > No need, you can't get here unless exactly same iopoll_completed > check succeeded in io_do_iopoll(). Agreed, I will revert this change. Thanks for having taken a look! Bart.