io_uring/eventfd: move ctx->evfd_last_cq_tail into io_ev_fd io_uring-eventfd
authorJens Axboe <axboe@kernel.dk>
Sat, 21 Sep 2024 07:56:45 +0000 (01:56 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 24 Sep 2024 19:32:03 +0000 (13:32 -0600)
commita1b20cca3a778fcb0f5796f534c6f7d82ed4379f
tree67b253d43cc5669c648738f17ee1d3c9d2c6826e
parentcf10c8fa8716e9748cd13a08d6a7375a232eb64e
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.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/io_uring_types.h
io_uring/eventfd.c