On 16/03/2016 14:38, Christian Borntraeger wrote: > > If you just remove the calls to virtio_queue_host_notifier_read, here > > and in virtio_queue_aio_set_host_notifier_fd_handler, does it work > > (keeping patches 2-4 in)? > > With these changes and patch 2-4 it does no longer locks up. > I keep it running some hour to check if a crash happens. > > Tu Bo, your setup is currently better suited for reproducing. Can you also > check?
Great, I'll prepare a patch to virtio then sketching the solution that Conny agreed with. While Fam and I agreed that patch 1 is not required, I'm not sure if the mutex is necessary in the end. So if Tu Bo can check without the virtio_queue_host_notifier_read calls, and both with/without Fam's patches, it would be great. Paolo