Re: [Qemu-devel] [PATCH 00/20] block: Rework bdrv_close_all()

2015-01-26 Thread Max Reitz
@subject: Sorry, should be 00/21 of course. I messed up when copying the subject and the text to this final version. Max

[Qemu-devel] [PATCH 00/20] block: Rework bdrv_close_all()

2015-01-26 Thread Max Reitz
Currently, bdrv_close_all() force-closes all BDSs with a BlockBackend, which can lead to data corruption (see the iotest added in the final patch of this series) and is most certainly very ugly. This series reworks bdrv_close_all() to notify all owners of a BlockBackend that they should release th