# US 2023/0057619 A1 · Segregating cold stripe defragmentation from new writes based on creation time of the cold stripe

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

- Number: US 2023/0057619 A1
- Document ID: US20230057619A1
- Status: Published application
- Kind: A1
- Application number: 17/445,195
- Filed: 2021-08-17
- Published: 2023-02-23
- Earliest claimed: 2021-08-17
- Assignees: Vast Data Ltd.
- Applicants: Vast Data Ltd.
- Inventors: Yogev Vaknin; Eli Malul
- Web page: https://patentgrep.com/patent/US20230057619A1

## CPC

- G06F 3/0656: {Data buffering arrangements}
- G06F 3/0688: {Non-volatile semiconductor memory arrays}
- G06F 3/0614: {Improving the reliability of storage systems}
- G06F 3/064: {Management of blocks}
- G06F 3/0647: {Migration mechanisms}
- G06F 3/0689: {Disk arrays, e.g. RAID, JBOD}
- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for generating a reconstructed version of a filesystem entity, the method may include (i) generating fallback retrieval metadata for a reconstructed version segment, when the reconstructed version segment is (a) associated with a corresponding intermediate version segment, and (b) the corresponding intermediate version segment is preceded by a corresponding most updated segment that does not exceed a fallback version of the filesystem entity; wherein the reconstructed version segment, the corresponding intermediate version segment and the corresponding most updated segment that does not exceed a fallback version have a same address range; (ii) generating a non-existing indicator for the reconstructed version segment, when the reconstructed version segment is (a) associated with the corresponding intermediate version segment, and (b) the corresponding intermediate version segment is not preceded by any corresponding most updated segment that does not exceed the fallback version; and (iii) maintaining intermediate metadata for retrieving one or more intermediate versions of the filesystem entity.

## Claims

### Claim 1

A method for temperature based stripes management, the method comprises:
determining a filling period of a temporary storage allocated to temporarily storing write request data units, wherein the filling period is a time before the temporary storage is filled to a threshold, and wherein the write request data units are (i) targeted to be written to a group of permanent storage resources of a storage system, and (ii) are associated with write requests;
determining that the filling period is longer than a stripe creation period that is required for creating a stripe; and
in response to determining that the filling period is longer than the stripe creation period, creating the stripe by (i) writing to the stripe, by a defragmentation process, cold data elements, and (ii) preventing migrating, by a migration process, of the write request data units to the stripe; wherein the stripe is stored in the group of permanent storage resources.

### Claim 2 (depends on 1)

The method according to claim 1 comprising defining the stripe as a destination, during a certain time period that corresponds to the creating of the stripe, of the defragmentation process and of the migration process.

### Claim 3 (depends on 1)

The method according to claim 1 further comprising:
determining that an aggerate size of defragmentation eligible cold data units is below a predefined size threshold; and
in response to determining that the aggregate size of the defragmentation eligible data units is below the predefined size threshold, writing at least some of the write request data units to a hot stripe.

### Claim 4 (depends on 3)

The method according to claim 3 wherein the predefined size threshold is a size of the stripe.

### Claim 5 (depends on 1)

The method according to claim 1 comprising:
reevaluating the filling period during the creating of the stripe;
determining that the reevaluated filling period is shorter than a period of time required to complete the creating of the stripe;
stopping the writing to the stripe of the cold data elements; and
migrating to the stripe at least some of the write request data units.

### Claim 6 (depends on 1)

The method according to claim 1 comprising:
reevaluating the filling period during the creating of the stripe;
determining that the reevaluated filling period is longer than a period of time required to complete the creating of the stripe; and
continuing the writing to the stripe of the cold data elements.

### Claim 7 (depends on 1)

The method according to claim 1 comprising:
completing the creating of the stripe as a cold stripe; and
creating a next stripe by migrating at least some of the write request data units to the next stripe.

### Claim 8 (depends on 1)

The method according to claim 1 comprising:
determining that a second cold stripe creation period, of a second stripe, is longer than the filling period; and
in response to determining that the second cold stripe creation period is longer than the filling period, creating the second stripe by at least one of (a) migrating at least some of the write request data units to the second stripe; and (b) writing hot data units to the second stripe by the defragmentation process.

### Claim 9 (depends on 1)

The method according to claim 1 wherein the storage system comprises two or more additional groups of permanent storage resources.

### Claim 10 (depends on 1)

The method according to claim 1 wherein the group of permanent storage resources are all permanent storage resources of the storage system.

### Claim 11

A non-transitory computer readable medium for temperature based stripes management, the non-transitory computer readable medium stores instructions comprising:
determining a filling period of a temporary storage allocated to temporarily storing write request data units, wherein the filling period is a time before the temporary storage is filled to a threshold, and wherein the write request data units are (i) targeted to be written to a group of permanent storage resources of a storage system, and (ii) are associated with write requests;
determining that the filling period is longer than a stripe creation period that is required for creating a stripe; and
in response to determining that the filling period is longer than the stripe creation period, creating the stripe by (i) writing to the stripe, and by a defragmentation process, cold data elements, and (ii) preventing a migrating, by a migration process, of the write request data units to the stripe; wherein the stripe is stored in the group of permanent storage resources.

### Claim 12 (depends on 11)

The non-transitory computer readable medium according to claim 11 that stores instructions comprising: defining the stripe as a destination, during a certain time period that corresponds to the creating of the stripe, of the defragmentation process and of the migration process.

### Claim 13 (depends on 11)

The non-transitory computer readable medium according to claim 11 further that stores instructions comprising:
determining that an aggerate size of defragmentation eligible cold data units is below a predefined size threshold; and
in response to determining that the aggregate size of the defragmentation eligible data units is below the predefined size threshold, writing at least some of the write request data units to a hot stripe.

### Claim 14 (depends on 13)

The non-transitory computer readable medium according to claim 13 wherein the predefined size threshold is a size of the stripe.

### Claim 15 (depends on 11)

The non-transitory computer readable medium according to claim 11 that stores instructions comprising:
reevaluating the filling period during the creating of the stripe;
determining that the reevaluated filling period is shorter than a period of time required to complete the creating of the stripe;
stopping the writing to the stripe of the cold data elements; and
migrating to the stripe at least some of the write request data units.

### Claim 16 (depends on 11)

The non-transitory computer readable medium according to claim 11 that stores instructions comprising:
reevaluating the filling period during the creating of the stripe;
determining that the reevaluated filling period is longer than a period of time required to complete the creating of the stripe; and
continuing the writing to the stripe of the cold data elements.

### Claim 17 (depends on 11)

The non-transitory computer readable medium according to claim 11 that stores instructions comprising:
completing the creating of the stripe as a cold stripe; and
creating a next stripe by migrating at least some of the write request data units to the next stripe.

### Claim 18 (depends on 11)

The non-transitory computer readable medium according to claim 11 that stores instructions comprising:
determining that a second cold stripe creation period, of a second stripe, is longer than the filling period; and
in response to determining that the second cold stripe creation period is longer than the filling period, creating the second stripe by at least one of (a) migrating at least some of the write request data units to the second stripe; and (b) writing hot data units to the second stripe by the defragmentation process.

### Claim 19 (depends on 11)

The non-transitory computer readable medium according to claim 11 wherein the storage group comprises two of more additional groups of permanent storage resources.

### Claim 20 (depends on 11)

The non-transitory computer readable medium according to claim 11 wherein the group of permanent storage resources are all permanent storage resources of the storage system.

### Claim 21

A storage system that comprises at least one controller that is configured to:
determine a filling period of a temporary storage allocated to temporarily storing write request data units, wherein the filling period is a time before the temporary storage is filled to a threshold, and wherein the write request data units are (i) targeted to be written to a group of permanent storage resources of a storage system, and (ii) are associated with write requests;
determine that the filling period is longer than a stripe creation period that is required for creating a stripe; and
in response to determining that the filling period is longer than the stripe creation period, create the stripe by (i) writing to the stripe, and by a defragmentation process, cold data elements, and (ii) preventing a migrating, by a migration process, of the write request data units to the stripe; wherein the stripe is stored in the group of permanent storage resources.
