CPC G06F 16/128 (2019.01) | 20 Claims |
1. An apparatus comprising:
at least one processing device comprising a processor coupled to a memory;
the at least one processing device being configured to perform steps of:
receiving a request to perform merging of a plurality of objects in a snapshot mapping structure associated with a given storage volume, the plurality of objects representing the given storage volume and a plurality of snapshots of the given storage volume, the plurality of objects being organized in a tree structure representing data dependencies between the given storage volume and the plurality of snapshots;
analyzing the snapshot mapping structure to identify ones of the plurality of objects that are candidates for deletion, wherein the identified ones of the plurality of objects that are candidates for deletion comprise ones of the plurality of objects which are nodes having a single child object in the tree structure;
determining one or more merge groups, a given one of the one or more merge groups comprising two or more of the plurality of objects, the two or more objects in the given merge group comprising (i) a chain of two or more of the plurality of objects identified as candidates for deletion and (ii) a given one of the plurality of objects that is a child object of a last one of the chain of the two or more of the plurality of objects identified as candidates for deletion; and
performing merging of the plurality of objects in the snapshot mapping structure by merging data items in the given merge group to a selected one of the two or more objects in the given merge group.
|