Re: [Qemu-devel] [PATCH v6 for-2.6 00/15] block: Rework bdrv_close_all()

2015-11-09 Thread Kevin Wolf
Am 04.11.2015 um 19:57 hat Max Reitz geschrieben: > 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 ins

[Qemu-devel] [PATCH v6 for-2.6 00/15] block: Rework bdrv_close_all()

2015-11-04 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 instead eject the BDS trees from all BlockBackends and then clo