# US 10,956,364 B2 · Efficient data synchronization for storage containers

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,956,364 B2
- Document ID: US10956364B2
- Status: Granted
- Kind: B2
- Application number: 15/690,626
- Filed: 2017-08-30
- Published: 2018-01-04
- Granted: 2021-03-23
- Earliest claimed: 2013-03-12
- Assignees: Tintri by DDN, Inc.
- Applicants: Tintri by DDN, Inc.
- Inventors: Raj Ashok Sudarsanam; Edward K. Lee; Mark G. Gritter; Pratap V. Singh
- Web page: https://patentgrep.com/patent/US10956364B2

## CPC

- G06F 16/128: {Details of file system snapshots on the file-level, e.g. snapshot creation, administration, deletion (error detection or correction of the data by redundancy in operations or in hardware G06F11/14, G06F11/16)}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 16/178: Techniques for file synchronisation in file systems
- G06F 2009/4557: {Distribution of virtual machine instances; Migration and load balancing}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Performing data synchronization is disclosed, including: receiving an indication to synchronize a container to a snapshot, wherein the container has a first data state and an identity, wherein the snapshot corresponds to a second data state; causing the container to have the second data state corresponding to the snapshot; and maintaining the identity of the container.

## Claims

### Claim 1

A system, comprising:
a processor configured to:
receive a write operation to write a data value to a first container;
perform the write operation including to store a mapping to a storage location of the data value to an existing current data structure associated with the first container;
receive an indication to synchronize a current data state of the first container to match a data state that is represented by a snapshot of a second container without duplicating at least a subset of physical data associated with the snapshot of the second container, wherein the first container has identity information that comprises a first identity value, wherein data corresponding to the snapshot of the second container is stored in a second container user history data structure, wherein the data corresponding to the snapshot of the second container that is stored in the second container user history data structure corresponds to a second container user visible snapshot history, wherein the second container user visible snapshot history comprises a display at a user interface;
provide a new current data structure associated with the first container, wherein the new current data structure is configured to store new data that is to be written to the first container, wherein to provide the new current data structure comprises to empty the existing current data structure associated with the first container by at least deleting the mapping to the storage location of the data value from the existing current data structure;
store a pointer that associates the new current data structure associated with the first container to the snapshot of the second container;
receive a read operation to the first container;
determine that the identity information of the first container has been at least partially overwritten by identity information of the second container associated with the snapshot, wherein the identity information of the second container comprises a second identity value, wherein the second identity value is different from the first identity value;
in response to the determination that the identity information of the first container has been at least partially overwritten, restore the identity information of the first container to the first identity value that is associated with the identity information of the first container prior to the new current data structure having been provided for the first container; and
perform the read operation to the first container including to:
use the pointer that associates the new current data structure associated with the first container to the snapshot of the second container to access the snapshot of the second container; and
search for a requested mapping requested by the read operation at the snapshot of the second container; and
a memory coupled to the processor and configured to store the snapshot.

### Claim 2 (depends on 1)

The system of claim 1, wherein the first container comprises one or more of the following types: a virtual machine, a virtual disk, and a file.

### Claim 3 (depends on 1)

The system of claim 1, wherein to restore the identity information of the first container to the first identity value comprises to modify data associated with the first container, modify metadata associated with the first container, or both.

### Claim 4 (depends on 1)

The system of claim 1, wherein the first container comprises a different container from the second container.

### Claim 5 (depends on 1)

The system of claim 1, wherein the first container and the second container are a same container, and wherein the data state corresponding to the snapshot comprises an earlier-in-time data state associated with the first container.

### Claim 6 (depends on 1)

The system of claim 1, wherein the processor is further configured to generate a new snapshot associated with the first container based at least in part on the new current data structure.

### Claim 7 (depends on 6)

The system of claim 6, wherein the processor is further configured to store a data corresponding to the new snapshot in a first container user history data structure associated with the first container, wherein the first container user history data structure includes a data corresponding to a previously generated snapshot associated with the first container, wherein the previously generated snapshot was generated prior to receipt of the indication to synchronize the current data state of the first container to match the data state that is represented by the snapshot of the second container.

### Claim 8 (depends on 1)

The system of claim 1, wherein the read operation comprises a first read operation, wherein the processor is further configured to:
receive an indication to delete the snapshot of the second container;
remove the data corresponding to the snapshot of the second container from the second container user history data structure associated with the second container;
determine that the first container has been synchronized to the snapshot of the second container such that the snapshot of the second container is configured to support a second read operation to the first container; and
in response to the determination that the first container has been synchronized to the snapshot of the second container, preserve the snapshot of the second container.

### Claim 9 (depends on 1)

The system of claim 1, wherein the processor is further configured to:
determine that data requested by the read operation is not found in the new current data structure.

### Claim 10

A method, comprising:
receiving a write operation to write a data value to a first container;
performing the write operation including to store a mapping to a storage location of the data value to an existing current data structure associated with the first container;
receiving an indication to synchronize a current data state of the first container to match a data state that is represented by a snapshot of a second container without duplicating at least a subset of physical data associated with the snapshot of the second container, wherein the first container has identity information that comprises a first identity value, wherein data corresponding to the snapshot of the second container is stored in a second container user history data structure, wherein the data corresponding to the snapshot of the second container that is stored in the second container user history data structure corresponds to a second container user visible snapshot history, wherein the second container user visible snapshot history comprises a display at a user interface;
providing a new current data structure associated with the first container, wherein the new current data structure is configured to store new data that is to be written to the first container, wherein to provide the new current data structure comprises to empty the existing current data structure associated with the first container by at least deleting the mapping to the storage location of the data value from the existing current data structure;
storing a pointer that associates the new current data structure associated with the first container to the snapshot of the second container;
receiving a read operation to the first container;
determining that the identity information of the first container has been at least partially overwritten by identity information of the second container associated with the snapshot, wherein the identity information of the second container comprises a second identity value, wherein the second identity value is different from the first identity value;
in response to the determination that the identity information of the first container has been at least partially overwritten, restoring the identity information of the first container to the first identity value that is associated with the identity information of the first container prior to the new current data structure having been provided for the first container; and
performing the read operation to the first container including:
using the pointer that associates the new current data structure associated with the first container to the snapshot of the second container to access the snapshot of the second container; and
searching for a requested mapping requested by the read operation at the snapshot of the second container.

### Claim 11 (depends on 10)

The method of claim 10, wherein the first container comprises one or more of the following types: a virtual machine, a virtual disk, and a file.

### Claim 12 (depends on 10)

The method of claim 10, wherein restoring the identity information of the first container to the first identity value comprises modifying data associated with the first container, modifying metadata associated with the first container, or both.

### Claim 13 (depends on 10)

The method of claim 10, wherein the first container comprises a different container from the second container.

### Claim 14 (depends on 10)

The method of claim 10, wherein the first container and the second container are a same container, and wherein the data state corresponding to the snapshot comprises an earlier-in-time data state associated with the first container.

### Claim 15 (depends on 14)

The method of claim 14, further comprising storing a data corresponding to the new snapshot in a first container user history data structure associated with the first container, wherein the first container user history data structure includes a data corresponding to a previously generated snapshot associated with the first container, wherein the previously generated snapshot was generated prior to receipt of the indication to synchronize the current data state of the first container to match the data state that is represented by the snapshot of the second container.

### Claim 16 (depends on 10)

The method of claim 10, wherein the read operation comprises a first read operation, further comprising:
receiving an indication to delete the snapshot of the second container;
removing the data corresponding to the snapshot of the second container from the second container user history data structure associated with the second container;
determining that the first container has been synchronized to the snapshot of the second container such that the snapshot of the second container is configured to support a second read operation to the first container; and
in response to the determination that the first container has been synchronized to the snapshot of the second container, preserving the snapshot of the second container.

### Claim 17

A computer program product, the computer program product comprising a non-transitory computer readable storage medium and comprising computer instructions for:
receiving a write operation to write a data value to a first container;
performing the write operation including to store a mapping to a storage location of the data value to an existing current data structure associated with the first container;
receiving an indication to synchronize a current data state of the first container to match a data state that is represented by a snapshot of a second container without duplicating at least a subset of physical data associated with the snapshot of the second container, wherein the first container has identity information that comprises a first identity value, wherein data corresponding to the snapshot of the second container is stored in a second container user history data structure, wherein the data corresponding to the snapshot of the second container that is stored in the second container user history data structure corresponds to a second container user visible snapshot history, wherein the second container user visible snapshot history comprises a display at a user interface;
providing a new current data structure associated with the first container, wherein the new current data structure is configured to store new data that is to be written to the first container, wherein to provide the new current data structure comprises to empty the existing current data structure associated with the first container by at least deleting the mapping to the storage location of the data value from the existing current data structure;
storing a pointer that associates the new current data structure associated with the first container to the snapshot of the second container;
receiving a read operation to the first container;
determining that the identity information of the first container has been at least partially overwritten by identity information of the second container associated with the snapshot, wherein the identity information of the second container comprises a second identity value, wherein the second identity value is different from the first identity value;
in response to the determination that the identity information of the first container has been at least partially overwritten, restoring the identity information of the first container to the first identity value that is associated with the identity information of the first container prior to the new current data structure having been provided for the first container; and
performing the read operation to the first container including:
using the pointer that associates the new current data structure associated with the first container to the snapshot of the second container to access the snapshot of the second container; and
searching for a requested mapping requested by the read operation at the snapshot of the second container.

### Claim 18 (depends on 17)

The computer program product of claim 17, wherein the read operation comprises a first read operation, further comprising computer instructions for:
receiving an indication to delete the snapshot of the second container;
removing the data corresponding to the snapshot of the second container from the second container user history data structure associated with the second container;
determining that the first container has been synchronized to the snapshot of the second container such that the snapshot of the second container is configured to support a second read operation to the first container; and
in response to the determination that the first container has been synchronized to the snapshot of the second container, preserving the snapshot of the second container.
