[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] block: compile out assert_bdrv_graph_readable() by default
From: |
Kevin Wolf |
Subject: |
Re: [PATCH] block: compile out assert_bdrv_graph_readable() by default |
Date: |
Tue, 9 May 2023 19:13:01 +0200 |
Am 01.05.2023 um 19:34 hat Stefan Hajnoczi geschrieben:
> reader_count() is a performance bottleneck because the global
> aio_context_list_lock mutex causes thread contention. Put this debugging
> assertion behind a new ./configure --enable-debug-graph-lock option and
> disable it by default.
>
> The --enable-debug-graph-lock option is also enabled by the more general
> --enable-debug option.
>
> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Thanks, applied to the block branch.
Kevin