io_uring/eventfd: move ctx->evfd_last_cq_tail into io_ev_fd
authorJens Axboe <axboe@kernel.dk>
Sat, 21 Sep 2024 07:59:52 +0000 (01:59 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 14 Oct 2024 15:04:10 +0000 (09:04 -0600)
commita8829bc208598f72c62a88d35b2904dbf4967590
tree28febe2187b49292e1a77c6f9710d73094c25582
parentf1202d067a7d2e1ae457417526eb4b9027c6a98a
io_uring/eventfd: move ctx->evfd_last_cq_tail into io_ev_fd

Everything else about the io_uring eventfd support is nicely kept
private to that code, except the cached_cq_tail tracking. With
everything else in place, move io_eventfd_flush_signal() to using
the ev_fd grab+release helpers, which then enables the direct use of
io_ev_fd for this tracking too.

Link: https://lore.kernel.org/r/20240921080307.185186-7-axboe@kernel.dk
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/eventfd.c