[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 04/12] graph-lock: remove AioContext locking
- To: Stefan Hajnoczi <stefanha@xxxxxxxxxx>
- From: Eric Blake <eblake@xxxxxxxxxx>
- Date: Thu, 30 Nov 2023 13:33:56 -0600
- Cc: qemu-devel@xxxxxxxxxx, Hanna Reitz <hreitz@xxxxxxxxxx>, Paul Durrant <paul@xxxxxxx>, Paolo Bonzini <pbonzini@xxxxxxxxxx>, Alberto Garcia <berto@xxxxxxxxxx>, Emanuele Giuseppe Esposito <eesposit@xxxxxxxxxx>, John Snow <jsnow@xxxxxxxxxx>, Kevin Wolf <kwolf@xxxxxxxxxx>, Wen Congyang <wencongyang2@xxxxxxxxxx>, qemu-block@xxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx, Coiby Xu <Coiby.Xu@xxxxxxxxx>, Eduardo Habkost <eduardo@xxxxxxxxxxx>, Xie Changlong <xiechanglong.d@xxxxxxxxx>, Ari Sundholm <ari@xxxxxxxxxx>, Li Zhijian <lizhijian@xxxxxxxxxxx>, Cleber Rosa <crosa@xxxxxxxxxx>, Juan Quintela <quintela@xxxxxxxxxx>, "Michael S. Tsirkin" <mst@xxxxxxxxxx>, Daniel P. Berrangé <berrange@xxxxxxxxxx>, Jason Wang <jasowang@xxxxxxxxxx>, Vladimir Sementsov-Ogievskiy <vsementsov@xxxxxxxxxxxxxx>, Zhang Chen <chen.zhang@xxxxxxxxx>, Peter Xu <peterx@xxxxxxxxxx>, Anthony Perard <anthony.perard@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Leonardo Bras <leobras@xxxxxxxxxx>, Pavel Dovgalyuk <pavel.dovgaluk@xxxxxxxxx>, Fam Zheng <fam@xxxxxxxxxx>, Fabiano Rosas <farosas@xxxxxxx>
- Delivery-date: Thu, 30 Nov 2023 19:34:31 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On Wed, Nov 29, 2023 at 02:55:45PM -0500, Stefan Hajnoczi wrote:
> Stop acquiring/releasing the AioContext lock in
> bdrv_graph_wrlock()/bdrv_graph_unlock() since the lock no longer has any
> effect.
>
> The distinction between bdrv_graph_wrunlock() and
> bdrv_graph_wrunlock_ctx() becomes meaningless and they can be collapsed
> into one function.
>
> Signed-off-by: Stefan Hajnoczi <stefanha@xxxxxxxxxx>
> ---
Reviewed-by: Eric Blake <eblake@xxxxxxxxxx>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc.
Virtualization: qemu.org | libguestfs.org
|