Am 15.09.2026 um 16:04 hat Jean-Louis Dupond geschrieben: > We create an image, write and discard some data in it, and then create a > snapshot. In the snapshot we write and discard again some data. > Then we measure the images with the base specified to calculate the > merged image size. Finally we commit the image and check it's size. > > This scenario is executed for discard-no-unref enabled and disabled. > > Signed-off-by: Jean-Louis Dupond <[email protected]>
You could maybe add the cases I commented on in patch 2, i.e. having an explicit zero cluster in the base file (which shouldn't count) and an encrypted base (which should count its clusters despite not having BDRV_BLOCK_OFFSET_VALID). Kevin
