# US 2021/0286548 A1 · Generating merge-friendly sequential io patterns in shared logger page descriptor tiers

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

- Number: US 2021/0286548 A1
- Document ID: US20210286548A1
- Status: Published application
- Kind: A1
- Application number: 16/817,207
- Filed: 2020-03-12
- Published: 2021-09-16
- Earliest claimed: 2020-03-12
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: Chun Ma; Socheavy Heng; Geng Han; Hongpo Gao; Shaoqin Gong; Jian Gao
- Web page: https://patentgrep.com/patent/US20210286548A1

## CPC

- G06F 3/0655: {Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 3/061: {Improving I/O performance}
- G06F 3/064: {Management of blocks}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques for generating merge-friendly sequential IO patterns in shared logger page descriptor (PD) tiers. The techniques can be employed in an active-active clustered system that includes a primary storage node, a secondary storage node, a logger shared between the primary and secondary storage nodes, and a storage device such as a non-volatile memory (NVM) device. The techniques can include allocating at least a first trunk and a second trunk in a shared PD tier of the logger, sequentially writing PD metadata and/or data by the primary storage node and the secondary storage node to the first trunk and the second trunk, respectively, merging the PD metadata/data units sequentially written to each respective trunk together to obtain PD metadata/data having an increased size up to the size of the respective trunks, and storing the merged PD metadata/data to the NVM device.

## Claims

### Claim 1

A method of generating merge-friendly sequential input/output (TO) patterns in a shared page descriptor (PD) tier, comprising:
allocating at least a first trunk and a second trunk in a shared PD tier of a logger;
sequentially writing PD metadata and/or data by a primary storage node and a secondary storage node to the first trunk and the second trunk, respectively;
merging the PD metadata and/or data sequentially written to each of the first trunk and the second trunk to obtain merged PD metadata and/or data; and
storing the merged PD metadata and/or data to an NVM device.

### Claim 2 (depends on 1)

The method of claim 1 wherein the first trunk has an associated head pointer and an associated tail pointer, and wherein sequentially writing PD metadata and/or data to the first trunk includes writing the PD metadata and/or data to a head of the first trunk.

### Claim 3 (depends on 2)

The method of claim 2 wherein the second trunk has an associated head pointer and an associated tail pointer, and wherein sequentially writing PD metadata and/or data to the second trunk includes writing the PD metadata and/or data to a head of the second trunk.

### Claim 4 (depends on 1)

The method of claim 1 further comprising:
in response to the first trunk having reached its storage capacity, allocating a third trunk in the shared PD tier of the logger; and
sequentially writing, by the primary storage node, PD metadata and/or data to the third trunk.

### Claim 5 (depends on 4)

The method of claim 4 further comprising:
in response to the second trunk having reached its storage capacity, allocating a fourth trunk in the shared PD tier of the logger; and
sequentially writing, by the secondary storage node, PD metadata and/or data to the fourth trunk.

### Claim 6 (depends on 1)

The method of claim 1 further comprising:
pushing the PD metadata and/or data sequentially written to the first trunk to a first TO queue,
wherein merging the PD metadata and/or data includes merging the PD metadata and/or data in the first TO queue to obtain first merged PD metadata and/or data.

### Claim 7 (depends on 6)

The method of claim 6 further comprising:
pushing the PD metadata and/or data sequentially written to the second trunk to a second TO queue,
wherein merging the PD metadata and/or data further includes merging the PD metadata and/or data in the second TO queue to obtain second merged PD metadata and/or data.

### Claim 8 (depends on 7)

The method of claim 7 wherein storing the merged PD metadata and/or data includes storing the first merged PD metadata and/or data and the second merged PD metadata and/or data from the first TO queue and the second TO queue, respectively, to the NVM device.

### Claim 9 (depends on 1)

The method of claim 1 further comprising:
obtaining, by the secondary storage node, authorization from the primary storage node to write PD metadata and/or data to the shared PD tier of the logger.

### Claim 10 (depends on 9)

The method of claim 9 wherein allocating the second trunk in the shared PD tier of the logger includes allocating the second trunk in the shared PD tier in response to the authorization from the primary storage node being obtained.

### Claim 11

An active-active clustered system, comprising:
a primary storage node;
a secondary storage node;
a first TO queue;
a second TO queue;
a logger including a shared page descriptor (PD) tier; and
a non-volatile memory (NVM) device,
wherein the primary storage node is configured to allocate at least a first trunk and a second trunk in the shared PD tier of the logger, and to sequentially write PD metadata and/or data to the first trunk,
wherein the secondary storage node is configured to sequentially write PD metadata and/or data to the second trunk,
wherein the logger is configured to be controlled for pushing the PD metadata and/or data from the first trunk to the first TO queue, and for pushing the PD metadata and/or data from the second trunk to the second TO queue,
wherein the first TO queue is configured to be controlled for merging the PD metadata and/or data pushed from the first trunk to obtain first merged PD metadata and/or data, and for storing the first merged PD metadata and/or data to the NVM device, and
wherein the second TO queue is configured to be controlled for merging the PD metadata and/or data pushed from the second trunk to obtain second merged PD metadata and/or data, and for storing the second merged PD metadata and/or data to the NVM device.

### Claim 12 (depends on 11)

The system of claim 11 wherein the first trunk has an associated head pointer and an associated tail pointer, and wherein the primary storage node is further configured to write PD metadata and/or data to a head of the first trunk.

### Claim 13 (depends on 12)

The system of claim 12 wherein the second trunk has an associated head pointer and an associated tail pointer, and wherein the secondary storage node is further configured to write PD metadata and/or data to a head of the second trunk.

### Claim 14 (depends on 11)

The system of claim 11 wherein the primary storage node is further configured, in response to the first trunk having reached its storage capacity, to allocate a third trunk in the shared PD tier of the logger, and to sequentially write PD metadata and/or data to the third trunk.

### Claim 15 (depends on 14)

The system of claim 14 wherein the primary storage node is further configured, in response to the second trunk having reached its storage capacity, to allocate a fourth trunk in the shared PD tier of the logger.

### Claim 16 (depends on 15)

The system of claim 15 wherein the secondary storage node is further configured to sequentially write PD metadata and/or data to the fourth trunk.

### Claim 17

A computer program product including a set of non-transitory, computer-readable media having instructions that, when executed by storage processing circuitry, cause the storage processing circuitry to perform a method comprising:
allocating at least a first trunk and a second trunk in a shared page descriptor (PD) tier of a logger;
sequentially writing PD metadata and/or data by a primary storage node and a secondary storage node to the first trunk and the second trunk, respectively;
merging the PD metadata and/or data sequentially written to each of the first trunk and the second trunk to obtain merged PD metadata and/or data; and
storing the merged PD metadata and/or data to an NVM device.

### Claim 18 (depends on 17)

The computer program product of claim 17 wherein the method further comprises:
pushing the PD metadata and/or data sequentially written to the first trunk to a first TO queue,
wherein merging the PD metadata and/or data includes merging the PD metadata and/or data in the first TO queue to obtain first merged PD metadata and/or data.

### Claim 19 (depends on 18)

The computer program product of claim 18 wherein the method further comprises:
pushing the PD metadata and/or data sequentially written to the second trunk to a second TO queue,
wherein merging the PD metadata and/or data further includes merging the PD metadata and/or data in the second TO queue to obtain second merged PD metadata and/or data.

### Claim 20 (depends on 19)

The computer program product of claim 19 wherein storing the merged PD metadata and/or data includes storing the first merged PD metadata and/or data and the second merged PD metadata and/or data from the first TO queue and the second TO queue, respectively, to the NVM device.
