tmp_suning_uos_patched/drivers/vhost
Michael S. Tsirkin 1680e9063e vhost-net: avoid flush under lock
We flush under vq mutex when changing backends.
This creates a deadlock as workqueue being flushed
needs this lock as well.

https://bugzilla.redhat.com/show_bug.cgi?id=612421

Drop the vq mutex before flush: we have the device mutex
which is sufficient to prevent another ioctl from touching
the vq.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2010-07-15 15:26:12 +03:00
..
Kconfig net/macvtap: add vhost support 2010-02-18 14:08:38 -08:00
Makefile vhost_net: a kernel-level virtio server 2010-01-15 01:43:29 -08:00
net.c vhost-net: avoid flush under lock 2010-07-15 15:26:12 +03:00
vhost.c vhost: add unlikely annotations to error path 2010-07-01 19:25:40 +03:00
vhost.h vhost: break out of polling loop on error 2010-06-27 11:52:25 +03:00