commit | a62682f92eedb41c1cd8290fa875a4b85624fb9a | [log] [tgz] |
---|---|---|
author | Hao Xu <haoxu@linux.alibaba.com> | Wed Sep 22 18:12:37 2021 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Sep 24 10:24:34 2021 -0600 |
tree | d811877c89c57d09ae0df8ed0f92939d559bde74 | |
parent | bd99c71bd14072ce2920f6d0c2fe43df072c653c [diff] |
io_uring: fix missing set of EPOLLONESHOT for CQ ring overflow We should set EPOLLONESHOT if cqring_fill_event() returns false since io_poll_add() decides to put req or not by it. Fixes: 5082620fb2ca ("io_uring: terminate multishot poll for CQ ring overflow") Signed-off-by: Hao Xu <haoxu@linux.alibaba.com> Link: https://lore.kernel.org/r/20210922101238.7177-3-haoxu@linux.alibaba.com Signed-off-by: Jens Axboe <axboe@kernel.dk>