qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 04/12] block: Keep subtree drained in drop_in


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH v2 04/12] block: Keep subtree drained in drop_intermediate
Date: Tue, 16 Jul 2019 19:03:49 +0200
User-agent: Mutt/1.11.3 (2019-02-01)

Am 03.07.2019 um 19:28 hat Max Reitz geschrieben:
> bdrv_drop_intermediate() calls BdrvChildRole.update_filename().  That
> may poll, thus changing the graph, which potentially breaks the
> QLIST_FOREACH_SAFE() loop.
> 
> Just keep the whole subtree drained.  This is probably the right thing
> to do anyway (dropping nodes while the subtree is not drained seems
> wrong).
> 
> Signed-off-by: Max Reitz <address@hidden>

Reviewed-by: Kevin Wolf <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]