[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 15/21] block: Mark bdrv_child_perm() GRAPH_RDLOCK, (continued)
- [PATCH 15/21] block: Mark bdrv_child_perm() GRAPH_RDLOCK, Kevin Wolf, 2023/08/17
- [PATCH 13/21] block: Mark bdrv_parent_perms_conflict() and callers GRAPH_RDLOCK, Kevin Wolf, 2023/08/17
- [PATCH 08/21] block: Mark bdrv_replace_child_noperm() GRAPH_WRLOCK, Kevin Wolf, 2023/08/17
- [PATCH 04/21] block: Take AioContext lock for bdrv_append() more consistently, Kevin Wolf, 2023/08/17
- [PATCH 17/21] block: Take graph rdlock in bdrv_drop_intermediate(), Kevin Wolf, 2023/08/17
- [PATCH 14/21] block: Mark bdrv_get_cumulative_perm() and callers GRAPH_RDLOCK, Kevin Wolf, 2023/08/17
- [PATCH 10/21] block: Mark bdrv_attach_child_common() GRAPH_WRLOCK, Kevin Wolf, 2023/08/17