Re: [PATCH v5 13/14] hw/block/nvme: Use zone metadata file for persistence

2020-09-29 Thread Klaus Jensen
-Daudé ; Maxim Levitsky > > ; Fam Zheng ; Niklas Cassel > > ; Damien Le Moal ; > > qemu-bl...@nongnu.org; qemu-devel@nongnu.org; Alistair Francis > > ; Matias Bjorling > > Subject: Re: [PATCH v5 13/14] hw/block/nvme: Use zone metadata file for > > persistence > &g

RE: [PATCH v5 13/14] hw/block/nvme: Use zone metadata file for persistence

2020-09-29 Thread Dmitry Fomichev
u-bl...@nongnu.org; qemu-devel@nongnu.org; Alistair Francis > ; Matias Bjorling > Subject: Re: [PATCH v5 13/14] hw/block/nvme: Use zone metadata file for > persistence > > On Sep 28 11:35, Dmitry Fomichev wrote: > > A ZNS drive that is emulated by this module is currentl

Re: [PATCH v5 13/14] hw/block/nvme: Use zone metadata file for persistence

2020-09-28 Thread Klaus Jensen
On Sep 28 11:35, Dmitry Fomichev wrote: > A ZNS drive that is emulated by this module is currently initialized > with all zones Empty upon startup. However, actual ZNS SSDs save the > state and condition of all zones in their internal NVRAM in the event > of power loss. When such a drive is powered

[PATCH v5 13/14] hw/block/nvme: Use zone metadata file for persistence

2020-09-27 Thread Dmitry Fomichev
A ZNS drive that is emulated by this module is currently initialized with all zones Empty upon startup. However, actual ZNS SSDs save the state and condition of all zones in their internal NVRAM in the event of power loss. When such a drive is powered up again, it closes or finishes all zones that