qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 00/13] block: bdrv_set_aio_context() related


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH v2 00/13] block: bdrv_set_aio_context() related fixes
Date: Mon, 25 Feb 2019 11:31:05 +0100
User-agent: Mutt/1.11.3 (2019-02-01)

Am 20.02.2019 um 18:48 hat Kevin Wolf geschrieben:
> Background for this series is the following bug report, which is about a
> crash with virtio-blk + iothread and request resubmission for werror/rerror:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1671173
> 
> The reason is that bdrv_set_aio_context() didn't correctly quiesce
> everything. Instead, it had a local hack to call aio_poll() for the
> source AioContext, which covered some, but not all cases, and is wrong
> because you can only call aio_poll() from the home thread.
> 
> So this series tries to make bdrv_drain() actually drain the known cases
> (fixes virtio-blk and the NBD client) and use the regular drain
> functions in bdrv_set_aio_context() instead of open-coding something
> similar.

Applied to the block branch.

Kevin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]