[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH] block: all I/O should be completed before remov
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-block] [PATCH] block: all I/O should be completed before removing throttle timers. |
Date: |
Thu, 9 Nov 2017 16:59:01 +0000 |
User-agent: |
Mutt/1.9.1 (2017-09-22) |
On Sat, Oct 21, 2017 at 01:34:00PM +0800, Zhengui Li wrote:
> From: Zhengui <address@hidden>
>
> In blk_remove_bs, all I/O should be completed before removing throttle
> timers. If there has inflight I/O, removing throttle timers here will
> cause the inflight I/O never return.
> This patch add bdrv_drained_begin before throttle_timers_detach_aio_context
> to let all I/O completed before removing throttle timers.
>
> Signed-off-by: Zhengui <address@hidden>
> ---
> block/block-backend.c | 4 ++++
> 1 file changed, 4 insertions(+)
Reviewed-by: Stefan Hajnoczi <address@hidden>
signature.asc
Description: PGP signature
- Re: [Qemu-block] [PATCH] block: all I/O should be completed before removing throttle timers.,
Stefan Hajnoczi <=