aio-posix: simplify FDMonOps->update() prototype
commitb321051cf48ccc2d3d832af111d688f2282f089b
authorStefan Hajnoczi <stefanha@redhat.com>
Thu, 5 Mar 2020 17:08:03 +0000 (5 17:08 +0000)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 9 Mar 2020 16:41:31 +0000 (9 16:41 +0000)
tree32317a09036588fd33643a5e844da001b4bf5ddd
parent1f050a4690f62a1e7dabc4f44141e9f762c3769f
aio-posix: simplify FDMonOps->update() prototype

The AioHandler *node, bool is_new arguments are more complicated to
think about than simply being given AioHandler *old_node, AioHandler
*new_node.

Furthermore, the new Linux io_uring file descriptor monitoring mechanism
added by the new patch requires access to both the old and the new
nodes.  Make this change now in preparation.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Link: https://lore.kernel.org/r/20200305170806.1313245-5-stefanha@redhat.com
Message-Id: <20200305170806.1313245-5-stefanha@redhat.com>
include/block/aio.h
util/aio-posix.c
util/fdmon-epoll.c
util/fdmon-poll.c