[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH 3/3] iscsi: do not use aio_context_acquire/relea
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-block] [PATCH 3/3] iscsi: do not use aio_context_acquire/release |
Date: |
Wed, 22 Feb 2017 15:24:13 +0000 |
User-agent: |
Mutt/1.7.1 (2016-10-04) |
On Fri, Feb 17, 2017 at 08:40:28PM +0100, Paolo Bonzini wrote:
> Now that all bottom halves and callbacks take care of taking the
> AioContext lock, we can migrate some users away from it and to a
> specific QemuMutex or CoMutex.
>
> Protect libiscsi calls with a QemuMutex. Callbacks are invoked
> using bottom halves, so we don't even have to drop it around
> callback invocations.
>
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
> block/iscsi.c | 83
> +++++++++++++++++++++++++++++++++++++++++++++--------------
> 1 file changed, 64 insertions(+), 19 deletions(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>
signature.asc
Description: PGP signature