[Top][All Lists]

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

Re: [Qemu-devel] [RFC for-2.7] block: keep AioContext pointer in BlockBa

From: Max Reitz
Subject: Re: [Qemu-devel] [RFC for-2.7] block: keep AioContext pointer in BlockBackend
Date: Tue, 17 May 2016 13:14:40 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0

On 17.05.2016 13:07, Paolo Bonzini wrote:
> On 17/05/2016 12:52, Max Reitz wrote:
>> A trivial way to do this would be to query the BDS's AIO context in
>> blk_get_aio_context() and update the BB's context if they don't match.
>> The more correct way would probably be to make bdrv_attach_aio_context()
>> update its BB's (or BBs', in the future) AIO context.
> That could be another BdrvChild member, couldn't it?

I think it would rather require a new function pointer in BdrvChildRole
(after Kevin's series, that is). As a side effect, that would allow us
to propagate the context even up the BDS tree, which we currently do not.


Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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