Re: [Qemu-devel] [PATCH v3 04/11] quorum: Fix close path

2015-02-24 Thread Fam Zheng
On Tue, 02/24 10:35, Max Reitz wrote: > bdrv_unref() can lead to bdrv_close(), which in turn will result in > bdrv_drain_all(). This function will later be called blk_drain_all() and > iterate only over the BlockBackends for which blk_is_inserted() holds > true; therefore, bdrv_is_inserted() and th

[Qemu-devel] [PATCH v3 04/11] quorum: Fix close path

2015-02-24 Thread Max Reitz
bdrv_unref() can lead to bdrv_close(), which in turn will result in bdrv_drain_all(). This function will later be called blk_drain_all() and iterate only over the BlockBackends for which blk_is_inserted() holds true; therefore, bdrv_is_inserted() and thus quorum_is_inserted() will probably be calle