[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 04/21] block: Take AioContext lock for bdrv_append() more con
From: |
Eric Blake |
Subject: |
Re: [PATCH 04/21] block: Take AioContext lock for bdrv_append() more consistently |
Date: |
Fri, 18 Aug 2023 11:07:32 -0500 |
User-agent: |
NeoMutt/20230517 |
On Thu, Aug 17, 2023 at 02:50:03PM +0200, Kevin Wolf wrote:
> The documentation for bdrv_append() says that the caller must hold the
> AioContext lock for bs_top. Change all callers to actually adhere to the
> contract.
>
> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
> ---
> tests/unit/test-bdrv-drain.c | 3 +++
> tests/unit/test-bdrv-graph-mod.c | 6 ++++++
> tests/unit/test-block-iothread.c | 3 +++
> 3 files changed, 12 insertions(+)
>
Reviewed-by: Eric Blake <eblake@redhat.com>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc.
Virtualization: qemu.org | libguestfs.org
- [PATCH 01/21] block: Remove unused BlockReopenQueueEntry.perms_checked, (continued)
- [PATCH 01/21] block: Remove unused BlockReopenQueueEntry.perms_checked, Kevin Wolf, 2023/08/17
- [PATCH 03/21] preallocate: Don't poll during permission updates, Kevin Wolf, 2023/08/17
- [PATCH 11/21] block: Call transaction callbacks with lock held, Kevin Wolf, 2023/08/17
- [PATCH 04/21] block: Take AioContext lock for bdrv_append() more consistently, Kevin Wolf, 2023/08/17
- [PATCH 08/21] block: Mark bdrv_replace_child_noperm() GRAPH_WRLOCK, Kevin Wolf, 2023/08/17
- [PATCH 06/21] block-coroutine-wrapper: Add no_co_wrapper_bdrv_wrlock functions, Kevin Wolf, 2023/08/17
- [PATCH 19/21] block: Mark bdrv_root_unref_child() GRAPH_WRLOCK, Kevin Wolf, 2023/08/17