Re: [Qemu-devel] [PATCH v5 04/13] quorum: Fix close path

2015-03-03 Thread Fam Zheng
On Tue, 03/03 15:13, 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 v5 04/13] quorum: Fix close path

2015-03-03 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