[Top][All Lists]

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

Re: [Qemu-block] [PATCH] block: Acquire the AioContext in guess_disk_lch

From: Alberto Garcia
Subject: Re: [Qemu-block] [PATCH] block: Acquire the AioContext in guess_disk_lchs()
Date: Wed, 09 Jan 2019 18:28:41 +0100
User-agent: Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (i586-pc-linux-gnu)

On Wed 09 Jan 2019 04:07:33 PM CET, Kevin Wolf wrote:
> This looks like the same thing that I talked about with Markus
> yesterday. He asked me where to put the acquire/release pair. My
> answer was that there is more than one way to do it, but I suspect
> that the realize functions of the devices may call the block layer
> more than once and putting the acquire/release there might be nicer.

Makes sense I guess, and it should be safe. I'll give it a try tomorrow
and send a new patch.


reply via email to

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