[Qemu-devel] [PATCH v2 1/2] block: add the support to drain throttled requests

2012-03-12 Thread zwu . kernel
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- block.c | 21 + block_int.h |1 + 2 files changed, 22 insertions(+), 0 deletions(-) diff --git a/block.c b/block.c index 52ffe14..0825168 100644 --- a/block.c +++

Re: [Qemu-devel] [PATCH v2 1/2] block: add the support to drain throttled requests

2012-03-12 Thread Paolo Bonzini
Il 12/03/2012 07:29, zwu.ker...@gmail.com ha scritto: From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- block.c | 21 + block_int.h |1 + 2 files changed, 22 insertions(+), 0 deletions(-) diff --git

Re: [Qemu-devel] [PATCH v2 1/2] block: add the support to drain throttled requests

2012-03-12 Thread Zhi Yong Wu
On Mon, Mar 12, 2012 at 3:27 PM, Paolo Bonzini pbonz...@redhat.com wrote: Il 12/03/2012 07:29, zwu.ker...@gmail.com ha scritto: From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com ---  block.c     |   21 +  block_int.h |    1 +

Re: [Qemu-devel] [PATCH v2 1/2] block: add the support to drain throttled requests

2012-03-12 Thread Paolo Bonzini
Il 12/03/2012 09:42, Zhi Yong Wu ha scritto: This doesn't work, qemu_aio_flush can start new I/O. Do you mean that it will start next I/O via the current request's cb? Yes. Paolo