On Mon, May 18, 2020 at 16:52:45 +0200, Peter Krempa wrote: > On Wed, May 13, 2020 at 23:49:17 -0400, John Snow wrote: > > Hi, > > > > This is a new (very small) block job that writes a pattern into a > > bitmap. The only pattern implemented is the top allocation information. > > > > This can be used to "recover" an incremental bitmap chain if an external > > snapshot was taken without creating a new bitmap first: any writes made > > to the image will be reflected by the allocation status and can be > > written back into a bitmap. > > > > This is useful for e.g. libvirt managing backup chains if a user creates > > an external snapshot outside of libvirt. > > I've dusted-off my patches for using this blockjob for this very > specific case and it works for me. > > Tested-by: Peter Krempa <pkre...@redhat.com> > > For now I'll continue the integration with other blockjobs where we > merge bitmaps.
I've posted the libvirt patches which make use of this blockjob as RFC on the libvir-list: https://www.redhat.com/archives/libvir-list/2020-June/msg00292.html I also have a branch with the patchset rebased to master (except for one of the test commits IIRC) linked from the cover-letter.