[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [Qemu-block] [PATCH 2/3] nfs: do not use aio_context_ac
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [Qemu-block] [PATCH 2/3] nfs: do not use aio_context_acquire/release |
Date: |
Wed, 22 Feb 2017 15:13:22 +0000 |
User-agent: |
Mutt/1.7.1 (2016-10-04) |
On Fri, Feb 17, 2017 at 08:40:27PM +0100, Paolo Bonzini wrote:
> @@ -343,12 +350,14 @@ static int coroutine_fn nfs_co_flush(BlockDriverState
> *bs)
>
> nfs_co_init_task(bs, &task);
>
> + qemu_mutex_lock(&client->mutex);
> if (nfs_fsync_async(client->context, client->fh, nfs_co_generic_cb,
> &task) != 0) {
> return -ENOMEM;
Missing qemu_mutex_unlock().
signature.asc
Description: PGP signature