Skip to content

Add io_uring support for epoll_ctl

Jens Axboe io-uring linux-fsdevel 2 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v13 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Use right version...
- Fix locking in eventpoll
- Don't EINVAL on sqe->off in epoll prep for io_uring

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3eventpoll: abstract out epoll_ctl() handlerfs/eventpoll.c+25 -200 replies
2/3eventpoll: support non-blocking do_epoll_ctl() callsfs/eventpoll.c include/linux/eventpoll.h+42 -130 replies
3/3io_uring: add support for epoll_ctl(2)fs/io_uring.c include/uapi/linux/io_uring.h+73 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCHSET v2 0/3] Add io_uring support for epoll_ctl

This adds support for epoll manipulation through io_uring, in particular epoll_ctl(2). Patch 1 is just a prep patch, patch 2 adds non-block support for epoll, and patch 3 wires it up for io_uring.

Patch 2 isn't the prettiest thing in the world, but we need to do nonblock grabbing of the mutexes and be able to back out safely.

Please review, thanks.

Since v1:

- Use right version...
- Fix locking in eventpoll
- Don't EINVAL on sqe->off in epoll prep for io_uring

Signature · 1 line
Jens Axboe