Re: [PATCH] block: compile out assert_bdrv_graph_readable() by default

2023-05-09 Thread Kevin Wolf
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. > >

[PATCH] block: compile out assert_bdrv_graph_readable() by default

2023-05-01 Thread Stefan Hajnoczi
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 gen