# US 2021/0240349 A1 · Storage system with write-via-hash functionality for synchronous replication of logical storage volumes

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

- Number: US 2021/0240349 A1
- Document ID: US20210240349A1
- Status: Published application
- Kind: A1
- Application number: 16/779,828
- Filed: 2020-02-03
- Published: 2021-08-05
- Earliest claimed: 2020-02-03
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: David Meiri; Xiangping Chen
- Web page: https://patentgrep.com/patent/US20210240349A1

## CPC

- G06F 3/065: {Replication mechanisms}
- G06F 3/0608: {Saving storage space on storage systems}
- G06F 3/061: {Improving I/O performance}
- G06F 3/0613: {in relation to throughput}
- G06F 3/0641: {De-duplication techniques}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 3/0683: {Plurality of storage devices}
- G06F 21/6218: {to a system of files or objects, e.g. local or distributed file system or database}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An apparatus includes a processing device comprising a processor coupled to a memory. The processing device is configured, in conjunction with synchronous replication of at least one logical storage volume between first and second storage systems, to receive a synchronous write request comprising a data page to be written to the logical storage volume, to determine a content-based signature for the data page, and to send the content-based signature from the first storage system to the second storage system. Responsive to receipt in the first storage system of an indication from the second storage system that the data page having the content-based signature is not already present in the second storage system, the processing device is further configured to send the data page from the first storage system to the second storage system. The processing device in some embodiments implements a distributed storage controller of a content addressable storage system.

## Claims

### Claim 1

An apparatus comprising:
at least one processing device comprising a processor coupled to a memory;
said at least one processing device being configured, in conjunction with synchronous replication of at least one logical storage volume between first and second storage systems:
to receive a synchronous write request comprising a data page to be written to the logical storage volume;
to determine a content-based signature for the data page;
to send the content-based signature from the first storage system to the second storage system; and
responsive to receipt in the first storage system of an indication from the second storage system that the data page having the content-based signature is not already present in the second storage system, to send the data page from the first storage system to the second storage system;
wherein the synchronous replication comprises a plurality of synchronous replication sessions each involving one or more logical storage volumes; and
wherein each of one or more of the synchronous replication sessions has a deduplication threshold and is configured:
to initially process a designated amount of its synchronous write requests by first sending content-based signatures for respective data pages of the synchronous write requests to the second storage system instead of first sending the data pages, in order to determine if the data pages already exist in the second storage system so as to thereby potentially avoid sending the data pages;
to determine an initial value of a deduplication ratio based at least in part on results of the initial processing; and
for each of a plurality of additional synchronous write requests:
responsive to a current value of the deduplication ratio being above the deduplication threshold, first sending a content-based signature for a data page of the synchronous write request to the second storage system instead of first sending the data page, in order to determine if the data page already exists in the second storage system so as to thereby potentially avoid sending the data page; and
responsive to a current value of the deduplication ratio not being above the deduplication threshold, first sending the data page.

### Claim 2 (depends on 1)

The apparatus of claim 1 wherein said at least one processing device comprises at least a portion of a storage controller of the first storage system.

### Claim 3 (depends on 1)

The apparatus of claim 1 wherein the first and second storage systems comprise respective source and target storage systems of the synchronous replication of said at least one logical storage volume.

### Claim 4 (depends on 1)

The apparatus of claim 1 wherein the content-based signature for the data page is determined based at least in part on application of a secure hashing algorithm to content of the data page.

### Claim 5 (depends on 1)

The apparatus of claim 1 wherein the second storage system responsive to determining that the data page having the content-based signature is already present in the second storage system completes the synchronous write request in the second storage system utilizing the content-based signature.

### Claim 6 (depends on 1)

The apparatus of claim 1 wherein the second storage system responsive to receipt of the data page from the first storage system completes the synchronous write request in the second storage system utilizing the received data page.

### Claim 7 (depends on 1)

The apparatus of claim 1 wherein different ones of the synchronous replication sessions are assigned different ones of a plurality of distinct priority levels.

### Claim 8 (depends on 1)

The apparatus of claim 1 wherein each of the synchronous replication sessions independently determines whether or not to first send a content-based signature for a data page of a synchronous write request to the second storage system instead of first sending the data page, in order to determine if the data page already exists in the second storage system so as to thereby potentially avoid sending the data page.

### Claim 9

(canceled)

### Claim 10 (depends on 7)

The apparatus of claim 7 wherein the deduplication thresholds are assigned to respective ones of the synchronous replication sessions based at least in part on their respective priority levels such that a session having a relatively high priority is assigned a relatively high deduplication threshold.

### Claim 11 (depends on 1)

The apparatus of claim 1 wherein one or more of the deduplication thresholds are reduced responsive to a detected increase in network congestion between the first and second storage systems.

### Claim 12 (depends on 1)

The apparatus of claim 1 wherein the first storage system comprises a distributed storage system having a plurality of storage nodes, each of at least a subset of the storage nodes comprising a set of processing modules configured to communicate with corresponding sets of processing modules on other ones of the storage nodes, a given such set of processing modules comprising at least a routing module, a control module and a data module, the sets of processing modules of the storage nodes collectively comprising at least a portion of a distributed storage controller of the distributed storage system.

### Claim 13

An apparatus comprising:
at least one processing device comprising a processor coupled to a memory;
said at least one processing device being configured, in conjunction with synchronous replication of at least one logical storage volume between first and second storage systems:
to receive a synchronous write request comprising a data page to be written to the logical storage volume;
to determine a content-based signature for the data page;
to send the content-based signature from the first storage system to the second storage system; and
responsive to receipt in the first storage system of an indication from the second storage system that the data page having the content-based signature is not already present in the second storage system, to send the data page from the first storage system to the second storage system;
wherein the synchronous replication comprises a plurality of synchronous replication sessions each involving one or more logical storage volumes;
wherein the first storage system comprises a distributed storage system having a plurality of storage nodes, each of at least a subset of the storage nodes comprising a set of processing modules configured to communicate with corresponding sets of processing modules on other ones of the storage nodes, a given such set of processing modules comprising at least a routing module, a control module and a data module, the sets of processing modules of the storage nodes collectively comprising at least a portion of a distributed storage controller of the distributed storage system; and
wherein said at least one processing device is further configured:
to determine a number of parallel synchronous write requests that can be collectively supported by the routing modules;
to determine a replication budget for each of the control modules as a function of the number of parallel synchronous write requests;
to allocate portions of the replication budget across the synchronous replication sessions in accordance with respective priority levels assigned thereto; and
to assign synchronous write requests to respective ones of the synchronous replication sessions in accordance with their respective allocated portions of the replication budget.

### Claim 14 (depends on 13)

The apparatus of claim 13 wherein at least one of the synchronous replication sessions that is currently operating below its allocated portion of the replication budget is permitted to obtain one or more synchronous write requests from another one of the synchronous replication sessions for processing.

### Claim 15

A method comprising:
in conjunction with synchronous replication of at least one logical storage volume between first and second storage systems:
receiving a synchronous write request comprising a data page to be written to the logical storage volume;
determining a content-based signature for the data page;
sending the content-based signature from the first storage system to the second storage system; and
responsive to receipt in the first storage system of an indication from the second storage system that the data page having the content-based signature is not already present in the second storage system, sending the data page from the first storage system to the second storage system;
wherein the synchronous replication comprises a plurality of synchronous replication sessions each involving one or more logical storage volumes;
wherein each of one or more of the synchronous replication sessions has a deduplication threshold and is configured:
to initially process a designated amount of its synchronous write requests by first sending content-based signatures for respective data pages of the synchronous write requests to the second storage system instead of first sending the data pages, in order to determine if the data pages already exist in the second storage system so as to thereby potentially avoid sending the data pages;
to determine an initial value of a deduplication ratio based at least in part on results of the initial processing; and
for each of a plurality of additional synchronous write requests:
responsive to a current value of the deduplication ratio being above the deduplication threshold, first sending a content-based signature for a data page of the synchronous write request to the second storage system instead of first sending the data page, in order to determine if the data page already exists in the second storage system so as to thereby potentially avoid sending the data page; and
responsive to a current value of the deduplication ratio not being above the deduplication threshold, first sending the data page; and
wherein the method is implemented by at least one processing device comprising a processor coupled to a memory.

### Claim 16 (depends on 15)

The method of claim 15 wherein different ones of the synchronous replication sessions are assigned different ones of a plurality of distinct priority levels.

### Claim 17 (depends on 15)

The method of claim 15 wherein each of the synchronous replication sessions independently determines whether or not to first send a content-based signature for a data page of a synchronous write request to the second storage system instead of first sending the data page, in order to determine if the data page already exists in the second storage system so as to thereby potentially avoid sending the data page.

### Claim 18

A computer program product comprising a non-transitory processor-readable storage medium having stored therein program code of one or more software programs, wherein the program code when executed by at least one processing device causes said at least one processing device, in conjunction with synchronous replication of at least one logical storage volume between first and second storage systems:
to receive a synchronous write request comprising a data page to be written to the logical storage volume;
to determine a content-based signature for the data page;
to send the content-based signature from the first storage system to the second storage system; and
responsive to receipt in the first storage system of an indication from the second storage system that the data page having the content-based signature is not already present in the second storage system, to send the data page from the first storage system to the second storage system;
wherein the synchronous replication comprises a plurality of synchronous replication sessions each involving one or more logical storage volumes; and
wherein each of one or more of the synchronous replication sessions has a deduplication threshold and is configured:
to initially process a designated amount of its synchronous write requests by first sending content-based signatures for respective data pages of the synchronous write requests to the second storage system instead of first sending the data pages, in order to determine if the data pages already exist in the second storage system so as to thereby potentially avoid sending the data pages;
to determine an initial value of a deduplication ratio based at least in part on results of the initial processing; and
for each of a plurality of additional synchronous write requests:
responsive to a current value of the deduplication ratio being above the deduplication threshold, first sending a content-based signature for a data page of the synchronous write request to the second storage system instead of first sending the data page, in order to determine if the data page already exists in the second storage system so as to thereby potentially avoid sending the data page; and
responsive to a current value of the deduplication ratio not being above the deduplication threshold, first sending the data page.

### Claim 19 (depends on 18)

The computer program product of claim 18 wherein different ones of the synchronous replication sessions are assigned different ones of a plurality of distinct priority levels.

### Claim 20 (depends on 18)

The computer program product of claim 18 wherein each of the synchronous replication sessions independently determines whether or not to first send a content-based signature for a data page of a synchronous write request to the second storage system instead of first sending the data page, in order to determine if the data page already exists in the second storage system so as to thereby potentially avoid sending the data page.

### Claim 21 (depends on 19)

The computer program product of claim 19 wherein the deduplication thresholds are assigned to respective ones of the synchronous replication sessions based at least in part on their respective priority levels such that a session having a relatively high priority is assigned a relatively high deduplication threshold.
