On 06/21/2018 06:25 AM, Vladimir Sementsov-Ogievskiy wrote: >> > > agree. and this is one more reason to not load bitmaps in inactive mode > at all. and drop them (after storing) on inactivating. > I'll make a patch. Sure. I guess persistent bitmaps that exist when BDRV_O_INACTIVE is set need to stay around -- it would be strange if they disappeared just because the bitmap is inactive -- but we need to effectively overwrite them on reload from disk. And while the disk is inactive, these bitmaps definitely need to remain in an enforced readonly state (can't be deleted, renamed, cleared, set, reset, etc.) (I guess it would also be an error to try to remove persistence from a bitmap on an inactive disk too.)
- [Qemu-block] [PATCH v2 01/10] qcow2/bitmap: r... John Snow
- Re: [Qemu-block] [PATCH v2 01/10] qcow2/... Vladimir Sementsov-Ogievskiy
- [Qemu-block] [PATCH v2 02/10] qcow2/bitmap: a... John Snow
- Re: [Qemu-block] [PATCH v2 02/10] qcow2/... Vladimir Sementsov-Ogievskiy
- [Qemu-block] [PATCH v2 08/10] qcow2/bitmap: t... John Snow
- [Qemu-block] [PATCH v2 03/10] qcow2/bitmap: c... John Snow
- Re: [Qemu-block] [PATCH v2 03/10] qcow2/... Vladimir Sementsov-Ogievskiy
- Re: [Qemu-block] [PATCH v2 03/10] qc... Vladimir Sementsov-Ogievskiy
- Re: [Qemu-block] [Qemu-devel] [PATCH... John Snow
- Re: [Qemu-block] [Qemu-devel] [P... Vladimir Sementsov-Ogievskiy
- Re: [Qemu-block] [Qemu-devel... John Snow
- [Qemu-block] [PATCH v2 09/10] qapi: add bitma... John Snow
- [Qemu-block] [PATCH v2 06/10] qcow2/bitmap: l... John Snow
- [Qemu-block] [PATCH v2 10/10] qcow2/bitmap: a... John Snow
