[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 0/5] block: fix blk_aio_*() segfault when blk
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH v3 0/5] block: fix blk_aio_*() segfault when blk->root == NULL |
Date: |
Thu, 1 Mar 2018 16:09:21 +0100 |
User-agent: |
Mutt/1.9.1 (2017-09-22) |
Am 16.02.2018 um 17:50 hat Stefan Hajnoczi geschrieben:
> v3:
> * Add Patch 1 to rename aio_context_in_iothread() to
> in_aio_context_home_thread() [Eric]
> v2:
> * Introduce AIO_WAIT_WHILE() since aio_poll(ctx, true) is not allowed [Paolo]
>
> Using bdrv_inc_in_flight(blk_bs(blk)) doesn't work since BlockBackend->root
> may
> be NULL.
>
> This patch series solves the issue by adding an BlockBackend->in_flight
> counter
> so requests can be tracked even when there is no BlockDriverState.
>
> This should fix the IDE and virtio-blk segfaults that have been encountered
> when there is no BlockDriverState.
>
> The patch is based on work by Kevin Wolf.
Thanks, applied to the block branch.
Kevin
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH v3 0/5] block: fix blk_aio_*() segfault when blk->root == NULL,
Kevin Wolf <=