Re: [PATCH v9 1/3] tcm_vhost: Refactor the lock nesting rule

2013-04-24 Thread Michael S. Tsirkin
On Thu, Apr 25, 2013 at 11:10:04AM +0800, Asias He wrote: > We want to use tcm_vhost_mutex to make sure hotplug/hotunplug will not > happen when set_endpoint/clear_endpoint is in process. > > Signed-off-by: Asias He Acked-by: Michael S. Tsirkin > --- > drivers/vhost/tcm_vhost.c | 32 +

[PATCH v9 1/3] tcm_vhost: Refactor the lock nesting rule

2013-04-24 Thread Asias He
We want to use tcm_vhost_mutex to make sure hotplug/hotunplug will not happen when set_endpoint/clear_endpoint is in process. Signed-off-by: Asias He --- drivers/vhost/tcm_vhost.c | 32 +++- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/drivers/vhost