# US 2021/0286520 A1 · Moving Data from a Buffer to Other Storage

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

- Number: US 2021/0286520 A1
- Document ID: US20210286520A1
- Status: Published application
- Kind: A1
- Application number: 17/336,384
- Filed: 2021-06-02
- Published: 2021-09-16
- Earliest claimed: 2013-02-26
- Assignees: Pure Storage, Inc.
- Applicants: Pure Storage, Inc.
- Inventors: Andrew Baptist; Jason K. Resch
- Web page: https://patentgrep.com/patent/US20210286520A1

## CPC

- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/06: Digital input from, or digital output to, record carriers {, e.g. RAID, emulated record carriers or networked record carriers}
- G06F 3/0622: {in relation to access}
- G06F 3/0629: {Configuration or reconfiguration of storage systems}
- 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 11/1092: {Rebuilding, e.g. when physically replacing a failing disk}
- G06F 11/2094: {Redundant storage or storage space (G06F11/2056 takes precedence)}
- G06F 2211/1028: Distributed, i.e. distributed RAID systems with parity
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A request to store a file is received, an in response to that request multiple data segments are stored in a buffer memory. A first one of those data segments is selected for migration based on a life expectancy of the first data segment, and is migrated from the buffer memory to another memory. Migrating the first data segment includes generating at least one encoded data segment by encoding the first data segment, storing the first data segment to a location in the another memory, and storing addressing information indicating the location in the another memory.

## Claims

### Claim 1

A method comprising:
receiving a request to store a file;
storing a plurality of data segments in a buffer memory in response to the request;
selecting a first data segment of the plurality of data segments for migration based on a life expectancy of the first data segment;
migrating the first data segment from the buffer memory to another memory, wherein migrating the first data segment includes:
generating at least one encoded data segment by encoding the first data segment;
storing the first data segment to a location in the another memory; and
storing addressing information indicating the location in the another memory.

### Claim 2 (depends on 1)

The method of claim 1, wherein the receiving the request to store the file includes:
receiving a request to perform a random write.

### Claim 3 (depends on 1)

The method of claim 1, further including:
determining the life expectancy of the first data segment based on information included in metadata associated with the first data segment.

### Claim 4 (depends on 3)

The method of claim 3, further including:
determining a storage location of the first data segment based on the life expectancy of the first data segment.

### Claim 5 (depends on 1)

The method of claim 1, further including:
receiving a request to update the first data segment, wherein the request to update includes updated data to be included in the first data segment; and
in response to receiving the request to update the first data segment, appending the updated data to the first data segment.

### Claim 6 (depends on 5)

The method of claim 5, further including:
acknowledging that the updated data has been appended to the first data segment.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
associating a transaction identifier with the at least one of the plurality of data segments.

### Claim 8

A non-transitory computer readable medium tangibly embodying a program of instructions configured to be stored in a memory and executed by a computer, the program of instructions configured to implement a method comprising:
receiving a request to store a file;
storing a plurality of data segments in a buffer memory in response to the request;
selecting a first data segment of the plurality of data segments for migration based on a life expectancy of the first data segment;
migrating the first data segment from the buffer memory to another memory, wherein migrating the first data segment includes:
generating at least one encoded data segment by encoding the first data segment;
storing first data segment to a location in the another memory; and
storing addressing information indicating the location in the another memory.

### Claim 9 (depends on 8)

The non-transitory computer readable medium of claim 8, wherein the receiving the request to store the file includes:
receiving a request to perform a random write.

### Claim 10 (depends on 8)

The non-transitory computer readable medium of claim 8, wherein the method implemented by the program of instructions further includes:
determining the life expectancy of the first data segment based on information included in metadata associated with the first data segment.

### Claim 11 (depends on 10)

The non-transitory computer readable medium of claim 10, wherein the method implemented by the program of instructions further includes:
determining a storage location of the first data segment based on the life expectancy of the first data segment.

### Claim 12 (depends on 8)

The non-transitory computer readable medium of claim 8, wherein the method implemented by the program of instructions further includes:
receiving, update the first data segment, wherein the request to update includes updated data to be included in the first data segment; and
in response to receiving the request to update the first data segment, appending the updated data to the first data segment.

### Claim 13 (depends on 12)

The non-transitory computer readable medium of claim 12, wherein the method implemented by the program of instructions further includes:
acknowledging that the updated data has been appended to the first data segment.

### Claim 14 (depends on 8)

The non-transitory computer readable medium of claim 8, wherein the method implemented by the program of instructions further includes:
associating a transaction identifier with the at least one of the plurality of data segments.

### Claim 15

A method comprising:
receiving a request to store a file;
storing at least a first data segment in a buffer memory in response to the request, wherein storing the at least a first data segment in the buffer memory includes associating a transaction identifier with the at least a first data segment;
migrating the at least a first data segment from the buffer memory to another memory based on a life expectancy of the at least a first data segment, wherein migrating the at least a first data segment includes:
generating at least one encoded data segment by encoding the at least a first data segment;
storing the at least a first data segment to a location in the another memory; and
storing addressing information indicating the location in the another memory.

### Claim 16 (depends on 15)

The method of claim 15, wherein the receiving the request to store the file includes:
receiving a request to perform a random write.

### Claim 17 (depends on 15)

The method of claim 15, further including:
determining the life expectancy of the first data segment based on information included in metadata associated with the at least a first data segment.

### Claim 18 (depends on 17)

The method of claim 17, further including:
determining a storage location of the at least a first data segment based on the life expectancy of the at least a first data segment.

### Claim 19 (depends on 15)

The method of claim 15, further including:
receiving a request to update the at least a first data segment, wherein the request to update includes updated data to be included in the first data segment; and
in response to receiving the request to update the first data segment, appending the updated data to the first data segment.

### Claim 20 (depends on 19)

The method of claim 19, further comprising:
acknowledging that the updated data has been appended to the first data segment.
