|
From: | Emanuele Giuseppe Esposito |
Subject: | Re: [PATCH 21/21] block: Mark bdrv_add/del_child() and caller GRAPH_WRLOCK |
Date: | Mon, 21 Aug 2023 09:35:34 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 |
Am 17/08/2023 um 14:50 schrieb Kevin Wolf: > The functions read the parents list in the generic block layer, so we > need to hold the graph lock already there. The BlockDriver > implementations actually modify the graph, so it has to be a writer > lock. > > Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
[Prev in Thread] | Current Thread | [Next in Thread] |