Re: [PATCH 1/2] aio-posix: don't duplicate fd handler deletion in fdmon_io_uring_destroy()

2020-05-14 Thread Oleksandr Natalenko
On Mon, May 11, 2020 at 07:36:29PM +0100, Stefan Hajnoczi wrote: > The io_uring file descriptor monitoring implementation has an internal > list of fd handlers that are pending submission to io_uring. > fdmon_io_uring_destroy() deletes all fd handlers on the list. > > Don't delete fd handlers dire

[PATCH 1/2] aio-posix: don't duplicate fd handler deletion in fdmon_io_uring_destroy()

2020-05-11 Thread Stefan Hajnoczi
The io_uring file descriptor monitoring implementation has an internal list of fd handlers that are pending submission to io_uring. fdmon_io_uring_destroy() deletes all fd handlers on the list. Don't delete fd handlers directly in fdmon_io_uring_destroy() for two reasons: 1. This duplicates the ai