[dpdk-dev] [PATCH v3] vhost: fix connect hang in client mode

2016-07-22 Thread Thomas Monjalon
2016-07-21 21:35, Yuanhan Liu: > On Thu, Jul 21, 2016 at 04:19:35PM +0300, Ilya Maximets wrote: > > If something abnormal happened to QEMU, 'connect()' can block calling > > thread (e.g. main thread of OVS) forever or for a really long time. > > This can break whole application or block the reconne

[dpdk-dev] [PATCH v3] vhost: fix connect hang in client mode

2016-07-21 Thread Yuanhan Liu
On Thu, Jul 21, 2016 at 04:43:25PM +0300, Ilya Maximets wrote: > > > On 21.07.2016 16:35, Yuanhan Liu wrote: > > On Thu, Jul 21, 2016 at 04:19:35PM +0300, Ilya Maximets wrote: > >> If something abnormal happened to QEMU, 'connect()' can block calling > >> thread (e.g. main thread of OVS) forever

[dpdk-dev] [PATCH v3] vhost: fix connect hang in client mode

2016-07-21 Thread Yuanhan Liu
On Thu, Jul 21, 2016 at 04:19:35PM +0300, Ilya Maximets wrote: > If something abnormal happened to QEMU, 'connect()' can block calling > thread (e.g. main thread of OVS) forever or for a really long time. > This can break whole application or block the reconnection thread. > > Example with OVS: >

[dpdk-dev] [PATCH v3] vhost: fix connect hang in client mode

2016-07-21 Thread Ilya Maximets
On 21.07.2016 16:35, Yuanhan Liu wrote: > On Thu, Jul 21, 2016 at 04:19:35PM +0300, Ilya Maximets wrote: >> If something abnormal happened to QEMU, 'connect()' can block calling >> thread (e.g. main thread of OVS) forever or for a really long time. >> This can break whole application or block the

[dpdk-dev] [PATCH v3] vhost: fix connect hang in client mode

2016-07-21 Thread Ilya Maximets
If something abnormal happened to QEMU, 'connect()' can block calling thread (e.g. main thread of OVS) forever or for a really long time. This can break whole application or block the reconnection thread. Example with OVS: ovs_rcu(urcu2)|WARN|blocked 512000 ms waiting for main to quiesce