All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] block: add missing call to bdrv_drain_recurse
@ 2015-12-23 10:48 Paolo Bonzini
  2015-12-25  1:55 ` Fam Zheng
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Paolo Bonzini @ 2015-12-23 10:48 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-block

This is also needed in bdrv_drain_all, not just in bdrv_drain.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 block/io.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/block/io.c b/block/io.c
index 841f5b5..bfe2544 100644
--- a/block/io.c
+++ b/block/io.c
@@ -293,6 +293,7 @@ void bdrv_drain_all(void)
         if (bs->job) {
             block_job_pause(bs->job);
         }
+        bdrv_drain_recurse(bs);
         aio_context_release(aio_context);
 
         if (!g_slist_find(aio_ctxs, aio_context)) {
-- 
2.5.0

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] [PATCH] block: add missing call to bdrv_drain_recurse
  2015-12-23 10:48 [Qemu-devel] [PATCH] block: add missing call to bdrv_drain_recurse Paolo Bonzini
@ 2015-12-25  1:55 ` Fam Zheng
  2016-01-11  8:32   ` Paolo Bonzini
  2016-02-03 10:40 ` [Qemu-devel] [Qemu-block] " Kevin Wolf
  2016-02-03 15:26 ` Stefan Hajnoczi
  2 siblings, 1 reply; 6+ messages in thread
From: Fam Zheng @ 2015-12-25  1:55 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: qemu-devel, qemu-block

On Wed, 12/23 11:48, Paolo Bonzini wrote:
> This is also needed in bdrv_drain_all, not just in bdrv_drain.
> 
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
>  block/io.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/block/io.c b/block/io.c
> index 841f5b5..bfe2544 100644
> --- a/block/io.c
> +++ b/block/io.c
> @@ -293,6 +293,7 @@ void bdrv_drain_all(void)
>          if (bs->job) {
>              block_job_pause(bs->job);
>          }
> +        bdrv_drain_recurse(bs);
>          aio_context_release(aio_context);
>  
>          if (!g_slist_find(aio_ctxs, aio_context)) {
> -- 
> 2.5.0
> 
> 

Reviewed-by: Fam Zheng <famz@redhat.com>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] [PATCH] block: add missing call to bdrv_drain_recurse
  2015-12-25  1:55 ` Fam Zheng
@ 2016-01-11  8:32   ` Paolo Bonzini
  2016-02-03  9:53     ` Paolo Bonzini
  0 siblings, 1 reply; 6+ messages in thread
From: Paolo Bonzini @ 2016-01-11  8:32 UTC (permalink / raw)
  To: Fam Zheng; +Cc: qemu-devel, qemu-block



On 25/12/2015 02:55, Fam Zheng wrote:
> On Wed, 12/23 11:48, Paolo Bonzini wrote:
>> This is also needed in bdrv_drain_all, not just in bdrv_drain.
>>
>> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
>> ---
>>  block/io.c | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/block/io.c b/block/io.c
>> index 841f5b5..bfe2544 100644
>> --- a/block/io.c
>> +++ b/block/io.c
>> @@ -293,6 +293,7 @@ void bdrv_drain_all(void)
>>          if (bs->job) {
>>              block_job_pause(bs->job);
>>          }
>> +        bdrv_drain_recurse(bs);
>>          aio_context_release(aio_context);
>>  
>>          if (!g_slist_find(aio_ctxs, aio_context)) {
>> -- 
>> 2.5.0
>>
>>
> 
> Reviewed-by: Fam Zheng <famz@redhat.com>
> 
> 

Ping?

Paolo

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] [PATCH] block: add missing call to bdrv_drain_recurse
  2016-01-11  8:32   ` Paolo Bonzini
@ 2016-02-03  9:53     ` Paolo Bonzini
  0 siblings, 0 replies; 6+ messages in thread
From: Paolo Bonzini @ 2016-02-03  9:53 UTC (permalink / raw)
  To: Fam Zheng; +Cc: Stefan Hajnoczi, qemu-devel, qemu-block



On 11/01/2016 09:32, Paolo Bonzini wrote:
> 
> 
> On 25/12/2015 02:55, Fam Zheng wrote:
>> On Wed, 12/23 11:48, Paolo Bonzini wrote:
>>> This is also needed in bdrv_drain_all, not just in bdrv_drain.
>>>
>>> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
>>> ---
>>>  block/io.c | 1 +
>>>  1 file changed, 1 insertion(+)
>>>
>>> diff --git a/block/io.c b/block/io.c
>>> index 841f5b5..bfe2544 100644
>>> --- a/block/io.c
>>> +++ b/block/io.c
>>> @@ -293,6 +293,7 @@ void bdrv_drain_all(void)
>>>          if (bs->job) {
>>>              block_job_pause(bs->job);
>>>          }
>>> +        bdrv_drain_recurse(bs);
>>>          aio_context_release(aio_context);
>>>  
>>>          if (!g_slist_find(aio_ctxs, aio_context)) {
>>> -- 
>>> 2.5.0
>>>
>>>
>>
>> Reviewed-by: Fam Zheng <famz@redhat.com>
>>
>>
> 
> Ping?

Ping^2?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] [Qemu-block] [PATCH] block: add missing call to bdrv_drain_recurse
  2015-12-23 10:48 [Qemu-devel] [PATCH] block: add missing call to bdrv_drain_recurse Paolo Bonzini
  2015-12-25  1:55 ` Fam Zheng
@ 2016-02-03 10:40 ` Kevin Wolf
  2016-02-03 15:26 ` Stefan Hajnoczi
  2 siblings, 0 replies; 6+ messages in thread
From: Kevin Wolf @ 2016-02-03 10:40 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: qemu-devel, qemu-block

Am 23.12.2015 um 11:48 hat Paolo Bonzini geschrieben:
> This is also needed in bdrv_drain_all, not just in bdrv_drain.
> 
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

Reviewed-by: Kevin Wolf <kwolf@redhat.com>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] [Qemu-block] [PATCH] block: add missing call to bdrv_drain_recurse
  2015-12-23 10:48 [Qemu-devel] [PATCH] block: add missing call to bdrv_drain_recurse Paolo Bonzini
  2015-12-25  1:55 ` Fam Zheng
  2016-02-03 10:40 ` [Qemu-devel] [Qemu-block] " Kevin Wolf
@ 2016-02-03 15:26 ` Stefan Hajnoczi
  2 siblings, 0 replies; 6+ messages in thread
From: Stefan Hajnoczi @ 2016-02-03 15:26 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: qemu-devel, qemu-block

[-- Attachment #1: Type: text/plain, Size: 630 bytes --]

On Wed, Dec 23, 2015 at 11:48:25AM +0100, Paolo Bonzini wrote:
> This is also needed in bdrv_drain_all, not just in bdrv_drain.
> 
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
>  block/io.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/block/io.c b/block/io.c
> index 841f5b5..bfe2544 100644
> --- a/block/io.c
> +++ b/block/io.c
> @@ -293,6 +293,7 @@ void bdrv_drain_all(void)
>          if (bs->job) {
>              block_job_pause(bs->job);
>          }
> +        bdrv_drain_recurse(bs);
>          aio_context_release(aio_context);

Applied to my block tree.

Thanks,
Stefan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-02-03 15:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-23 10:48 [Qemu-devel] [PATCH] block: add missing call to bdrv_drain_recurse Paolo Bonzini
2015-12-25  1:55 ` Fam Zheng
2016-01-11  8:32   ` Paolo Bonzini
2016-02-03  9:53     ` Paolo Bonzini
2016-02-03 10:40 ` [Qemu-devel] [Qemu-block] " Kevin Wolf
2016-02-03 15:26 ` Stefan Hajnoczi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.