# US 11,119,913 B2 · Selective use of garbage collection during expansion of geometry addressable regions of a redundant array of independent drive (RAID) configuration

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

- Number: US 11,119,913 B2
- Document ID: US11119913B2
- Status: Granted
- Kind: B2
- Application number: 16/789,315
- Filed: 2020-02-12
- Published: 2021-08-12
- Granted: 2021-09-14
- Earliest claimed: 2020-02-12
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Gemma Izen; Alastair Cooper; Nicholas Michael O'Rourke; Dominic Tomkins
- Web page: https://patentgrep.com/patent/US11119913B2

## CPC

- G06F 3/0685: {Hybrid storage combining heterogeneous device types, e.g. hierarchical storage, hybrid arrays}
- G06F 12/0253: {Garbage collection, i.e. reclamation of unreferenced memory}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0632: {by initialisation or re-initialisation of storage systems}
- G06F 3/0644: {Management of space entities, e.g. partitions, extents, pools}
- G06F 3/0652: {Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket}
- 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 2212/1044: Space efficiency improvement
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-implemented method for performing garbage collection in a data storage system having a RAID configuration according to one embodiment includes determining on which geometry addressable region of the RAID configuration extents of data are stored. The RAID configuration includes an old geometry addressable region and a new geometry addressable region. The method further includes determining an order for performing garbage collection on the extents of data. Extents of data determined to be stored on the old geometry addressable region are assigned a higher priority within the order than extents of data determined to be stored on the new geometry addressable region. Moreover, the method includes performing garbage collection on the data storage system according to the order for performing garbage collection.

## Claims

### Claim 1

A computer-implemented method for performing garbage collection in a data storage system having a redundant array of independent drive (RAID) configuration with an old geometry addressable region and a new geometry addressable region, wherein the new geometry addressable region exists subsequent to restriping occurring over a relatively larger RAID set of the RAID configuration, wherein the old geometry addressable region exists prior to restriping occurring over the relatively larger RAID set of the RAID configuration, the method comprising:
determining on which geometry addressable region of the RAID configuration extents of data are stored;
determining an order for performing garbage collection on the extents of data, wherein extents of data determined to be stored on the old geometry addressable region are assigned a higher priority within the order than extents of data determined to be stored on the new geometry addressable region; and
performing garbage collection on the data storage system according to the order for performing garbage collection.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein performing garbage collection on the data storage system according to the order for performing garbage collection includes storing the extents of data determined to be stored on the old geometry addressable region to the new geometry addressable region and not storing the extents of data determined to be stored on the old geometry addressable region to the old geometry addressable region of the data storage system.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein determining on which geometry addressable region of the RAID configuration extents of data are stored includes performing a query during expansion of the data storage system from the old geometry addressable region to the new geometry addressable region, wherein performing the query includes accessing at least one type of information selected from the group consisting of: a high watermark, an addressable range and a bitmap.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein determining the order for performing garbage collection on extents of data includes:
determining respective weighted scores for the extents of data,
wherein the respective weighted scores are determined based on amounts of invalid data that the extents of data include; and
assigning the respective weighted scores to the extents of data.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein determining an order for performing garbage collection on the extents of data includes:
determining whether one or more of the extents of data respectively include an amount of invalid data that exceeds a predetermined threshold;
incorporating extents of data determined to be stored on the new geometry addressable region into the determined order in response to a determination that the extents of data determined to be stored on the new geometry addressable region include an amount of invalid data that exceeds the predetermined threshold;
excluding extents of data determined to be stored on the new geometry addressable region from the determined order in response to a determination that the extents of data determined to be stored on the new geometry addressable region do not include an amount of invalid data that exceeds the predetermined threshold; and
incorporating each of the extents of data determined to be stored on the old geometry addressable region into the determined order.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein garbage collection is performed on extents of data determined to be stored on the new geometry addressable region of the data storage system in response to determining that each of the extents of data determined to include invalid data and be stored on the old geometry addressable region have had garbage collection performed thereon.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the new geometry addressable region includes at least one RAID drive of the old geometry addressable region.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein the new geometry addressable region does not include any RAID drives of the old geometry addressable region.

### Claim 9

A computer program product for performing garbage collection in a data storage system having a redundant array of independent drive (RAID) configuration with an old geometry addressable region and a new geometry addressable region, wherein the new geometry addressable region exists subsequent to restriping occurring over a relatively larger RAID set of the RAID configuration, wherein the old geometry addressable region exists prior to restriping occurring over the relatively larger RAID set of the RAID configuration, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions readable and/or executable by a controller to cause the controller to:
determine, by the controller, on which geometry addressable region of the RAID configuration extents of data are stored;
determine, by the controller, an order for performing garbage collection on the extents of data, wherein extents of data determined to be stored on the old geometry addressable region are assigned a higher priority within the order than extents of data determined to be stored on the new geometry addressable region; and
perform, by the controller, garbage collection on the data storage system according to the order for performing garbage collection.

### Claim 10 (depends on 9)

The computer program product of claim 9, wherein performing garbage collection on the data storage system according to the order for performing garbage collection includes storing the extents of data determined to be stored on the old geometry addressable region to the new geometry addressable region and not storing the extents of data determined to be stored on the old geometry addressable region to the old geometry addressable region of the data storage system.

### Claim 11 (depends on 9)

The computer program product of claim 9, wherein determining on which geometry addressable region of the RAID configuration extents of data are stored includes performing a query during expansion of the data storage system from the old geometry addressable region to the new geometry addressable region, wherein performing the query includes accessing at least one type of information selected from the group consisting of: a high watermark, an addressable range and a bitmap.

### Claim 12 (depends on 9)

The computer program product of claim 9, wherein determining the order for performing garbage collection on extents of data includes:
determining respective weighted scores for the extents of data,
wherein the respective weighted scores are determined based on amounts of invalid data that the extents of data include; and
assigning the respective weighted scores to the extents of data.

### Claim 13 (depends on 9)

The computer program product of claim 9, wherein determining an order for performing garbage collection on the extents of data includes:
determining whether one or more of the extents of data respectively include an amount of invalid data that exceeds a predetermined threshold;
incorporating extents of data determined to be stored on the new geometry addressable region into the determined order in response to a determination that the extents of data determined to be stored on the new geometry addressable region include an amount of invalid data that exceeds the predetermined threshold;
excluding extents of data determined to be stored on the new geometry addressable region from the determined order in response to a determination that the extents of data determined to be stored on the new geometry addressable region do not include an amount of invalid data that exceeds the predetermined threshold; and
incorporating each of the extents of data determined to be stored on the old geometry addressable region into the determined order.

### Claim 14 (depends on 9)

The computer program product of claim 9, wherein garbage collection is performed on extents of data determined to be stored on the new geometry addressable region of the data storage system in response to determining that each of the extents of data determined to include invalid data and be stored on the old geometry addressable region have had garbage collection performed thereon.

### Claim 15 (depends on 9)

The computer program product of claim 9, wherein the new geometry addressable region includes at least one RAID drive of the old geometry addressable region.

### Claim 16 (depends on 9)

The computer program product of claim 9, wherein the new geometry addressable region does not include any RAID drives of the old geometry addressable region.

### Claim 17

A system, comprising:
a data storage system having a redundant array of independent drive (RAID) configuration with an old geometry addressable region and a new geometry addressable region, wherein the new geometry addressable region exists subsequent restriping occurring over a relatively larger RAID set of the RAID configuration, wherein the old geometry addressable region exists prior to restriping occurring over the relatively larger RAID set of the RAID configuration;
a processor; and
logic integrated with the processor, executable by the processor, or integrated with and executable by the processor, the logic being configured to:
determine on which geometry addressable region of the RAID configuration extents of data are stored;
determine an order for performing garbage collection on the extents of data, wherein extents of data determined to be stored on the old geometry addressable region are assigned a higher priority within the order than extents of data determined to be stored on the new geometry addressable region; and
perform garbage collection on the data storage system according to the order for performing garbage collection.

### Claim 18 (depends on 17)

The system of claim 17, wherein performing garbage collection on the data storage system according to the order for performing garbage collection includes storing the extents of data determined to be stored on the old geometry addressable region to the new geometry addressable region and not storing the extents of data determined to be stored on the old geometry addressable region to the old geometry addressable region of the data storage system.

### Claim 19 (depends on 17)

The system of claim 17, wherein determining on which geometry addressable region of the RAID configuration extents of data are stored includes performing a query during expansion of the data storage system from the old geometry addressable region to the new geometry addressable region, wherein performing the query includes accessing at least one type of information selected from the group consisting of: a high watermark, an addressable range and a bitmap.

### Claim 20 (depends on 17)

The system of claim 17, wherein determining the order for performing garbage collection on extents of data includes:
determining respective weighted scores for the extents of data,
wherein the respective weighted scores are determined based on amounts of invalid data that the extents of data include; and
assigning the respective weighted scores to the extents of data.
