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

2015-03-02 Thread Max Reitz
On 2015-03-02 at 10:57, Kevin Wolf wrote: Am 02.03.2015 um 16:15 hat Max Reitz geschrieben: On 2015-03-02 at 04:25, Kevin Wolf wrote: Am 27.02.2015 um 17:43 hat Max Reitz geschrieben: Currently, bdrv_close_all() force-closes all BDSs with a BlockBackend, which can lead to data corruption (see

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

2015-03-02 Thread Kevin Wolf
Am 02.03.2015 um 16:15 hat Max Reitz geschrieben: > On 2015-03-02 at 04:25, Kevin Wolf wrote: > >Am 27.02.2015 um 17:43 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 > >>

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

2015-03-02 Thread Max Reitz
On 2015-03-02 at 04:25, Kevin Wolf wrote: Am 27.02.2015 um 17:43 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 ser

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

2015-03-02 Thread Kevin Wolf
Am 27.02.2015 um 17:43 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 v4 00/11] block: Rework bdrv_close_all()

2015-02-27 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