c05ef0dbce1ca5d3c537e2d609bb136b556ddda2
Suppose we are taking a snapshot of VM 100's disk-0. The dir_glob_foreach runs over $path=/subvolume/images/100, lists all snapshot names and appends their names to the path of the disk, e.g. /subvolume/images/vm-100-disk-0@SNAP_NAME, but the original directory $path might contain a second disk `vm-100-disk-1` which is also listed by the dir_glib_foreach. By using the helper we only iterate over the snapshots of the guest. Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
Description
with PMEM support!
Languages
Perl
99.3%
Makefile
0.6%