eventpoll: add EPOLL_URING_WAKE poll wakeup flag
We can have dependencies between epoll and io_uring. Consider an epoll
context, identified by the epfd file descriptor, and an io_uring file
descriptor identified by iofd. If we add iofd to the epfd context, and
arm a multishot poll request for epfd with iofd, then the multishot
poll request will repeatedly trigger and generate events until terminated
by CQ ring overflow. This isn't a desired behavior.
Add EPOLL_URING so that io_uring can pass it in as part of the poll wakeup
key, and io_uring can check for that to detect a potential recursive
invocation.
Cc: stable@vger.kernel.org # 6.0
Signed-off-by:
Jens Axboe <axboe@kernel.dk>
Loading
-
mentioned in commit 5e4839b5
-
mentioned in commit 2a3039b9
-
mentioned in commit 329c6e72
-
mentioned in commit d447af67
-
mentioned in commit 842b90b6
-
mentioned in commit f708e79a
-
mentioned in commit cd1863f1
-
mentioned in commit e0bcf745
-
mentioned in commit d7a47b29
-
mentioned in commit a5b58fb5
-
mentioned in commit a2a99277
-
mentioned in commit 872faf73
-
mentioned in commit bc0ae4b4
-
mentioned in commit ef6025be
-
mentioned in commit 1f7bdde5
-
mentioned in commit c9938392
-
mentioned in commit 43f90af3
-
mentioned in commit 17cf0acc
-
mentioned in commit ddd487ff
-
mentioned in commit ca8baa4b
-
mentioned in commit 845aa112
-
mentioned in commit b4ab4ac9
Please sign in to comment