[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 14/20] block: Mark bdrv_co_get_info() and callers GRAPH_RDLOC
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH 14/20] block: Mark bdrv_co_get_info() and callers GRAPH_RDLOCK |
Date: |
Mon, 1 May 2023 15:04:11 -0400 |
On Tue, Apr 25, 2023 at 07:31:52PM +0200, Kevin Wolf wrote:
> From: Emanuele Giuseppe Esposito <eesposit@redhat.com>
>
> This adds GRAPH_RDLOCK annotations to declare that callers of
> bdrv_co_get_info() need to hold a reader lock for the graph.
>
> Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
> ---
> include/block/block-io.h | 7 +++++--
> include/block/block_int-common.h | 4 ++--
> block.c | 2 ++
> block/crypto.c | 2 +-
> block/io.c | 11 +++++------
> block/mirror.c | 8 ++++++--
> block/raw-format.c | 2 +-
> 7 files changed, 22 insertions(+), 14 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH 14/20] block: Mark bdrv_co_get_info() and callers GRAPH_RDLOCK,
Stefan Hajnoczi <=