On 09/09/2011 05:03 PM, Paolo Bonzini wrote:
I'm a bit unsure here, actually. So you lock a mutex, send a request,
wait for a response, then unlock the mutex. Surely this code doesn't
allow more than one request to be in flight at a time?
No, it doesn't. It shouldn't be hard to do it though.
On 09/09/2011 04:52 PM, Nicholas Thomas wrote:
I'm a bit unsure here, actually. So you lock a mutex, send a request,
wait for a response, then unlock the mutex. Surely this code doesn't
allow more than one request to be in flight at a time?
No, it doesn't. It shouldn't be hard to do it though.
On 08/09/11 16:25, Paolo Bonzini wrote:
> Signed-off-by: Paolo Bonzini
> ---
> block/nbd.c | 167 ++
> nbd.c |8 +++
> 2 files changed, 117 insertions(+), 58 deletions(-)
>
> diff --git a/block/nbd.c b/block/nbd.c
> index 964caa8
Signed-off-by: Paolo Bonzini
---
block/nbd.c | 167 ++
nbd.c |8 +++
2 files changed, 117 insertions(+), 58 deletions(-)
diff --git a/block/nbd.c b/block/nbd.c
index 964caa8..5a75263 100644
--- a/block/nbd.c
+++ b/block/nbd.c
@@