[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 13/20] block: Mark bdrv_co_get_allocated_file_size() and call
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH 13/20] block: Mark bdrv_co_get_allocated_file_size() and callers GRAPH_RDLOCK |
Date: |
Mon, 1 May 2023 15:03:05 -0400 |
On Tue, Apr 25, 2023 at 07:31:51PM +0200, Kevin Wolf wrote:
> @@ -5778,6 +5779,7 @@ int64_t coroutine_fn
> bdrv_co_get_allocated_file_size(BlockDriverState *bs)
> {
> BlockDriver *drv = bs->drv;
> IO_CODE();
> + assert_bdrv_graph_readable();
Is there a need for runtime assertions in functions already checked by
TSA?
I guess not. Otherwise runtime assertions should have been added in many
of the other functions marked GRAPH_RDLOCK in this series.
signature.asc
Description: PGP signature
- Re: [PATCH 13/20] block: Mark bdrv_co_get_allocated_file_size() and callers GRAPH_RDLOCK,
Stefan Hajnoczi <=