Re: [PATCH 0/2] virtio: Keep notifications disabled during drain

2024-01-25 Thread Stefan Hajnoczi
On Wed, Jan 24, 2024 at 06:38:28PM +0100, Hanna Czenczek wrote: > Hi, > > When registering callbacks via aio_set_event_notifier_poll(), the > io_poll_end() callback is only invoked when polling actually ends. If > the notifiers are removed while in a polling section, it is not called. >

[PATCH 0/2] virtio: Keep notifications disabled during drain

2024-01-24 Thread Hanna Czenczek
Hi, When registering callbacks via aio_set_event_notifier_poll(), the io_poll_end() callback is only invoked when polling actually ends. If the notifiers are removed while in a polling section, it is not called. Therefore, io_poll_start() is not necessarily followed up by io_poll_end(). It is