# US 2023/0057271 A1 · Adaptive, proactive raid rebuild

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

- Number: US 2023/0057271 A1
- Document ID: US20230057271A1
- Status: Published application
- Kind: A1
- Application number: 17/405,672
- Filed: 2021-08-18
- Published: 2023-02-23
- Earliest claimed: 2021-08-18
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: RADU IOAN STOICA; NIKOLAS IOANNOU; ROMAN ALEXANDER PLETKA; NIKOLAOS PAPANDREOU; CHARALAMPOS POZIDIS
- Web page: https://patentgrep.com/patent/US20230057271A1

## CPC

- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 11/3419: {by assessing time}
- G06F 3/0611: {in relation to response time}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0689: {Disk arrays, e.g. RAID, JBOD}
- G06F 11/0757: {by exceeding a time limit, i.e. time-out, e.g. watchdogs}
- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G06F 11/1092: {Rebuilding, e.g. when physically replacing a failing disk}
- G06F 11/3034: {where the computing system component is a storage system, e.g. DASD based or network based (digital input from or digital output to record carriers G06F3/06; digital recording or reproducing G11B20/18; for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS], H04L67/1097)}
- G06F 11/3055: {Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available (error or fault processing without redundancy G06F11/0703; error detection or correction by redundancy in data representation G06F11/08; error detection or correction of the data by redundancy in operations G06F11/14; error detection or correction by redundancy in hardware G06F11/16)}
- G06F 11/3485: {for I/O devices}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A data storage system includes a plurality of storage devices organized as a redundant array of inexpensive disks (RAID) storage array and a RAID controller. The RAID controller monitors the plurality of storage devices in the RAID storage array. The RAID controller also detects that a host read request of a host has a latency exceeding a latency threshold. Based on the monitoring, the RAID controller determines whether a proactive rebuild of a data requested by the host read request in absence of a data error would likely be beneficial to performance. Based on determining that a proactive rebuild of the data requested by the host read request would likely be beneficial to performance, the RAID controller initiates the proactive rebuild of the data and sends the requested data to the host.

## Claims

### Claim 1

A method of controlling a data storage system including a plurality of storage devices organized as a redundant array of inexpensive disks (RAID) storage array and a RAID controller, the method comprising:
the RAID controller of the RAID storage array monitoring the plurality of storage devices in the RAID storage array;
the RAID controller detecting that a host read request of a host has a latency exceeding a latency threshold;
based on the monitoring, the RAID controller determining whether a proactive rebuild of data requested by the host read request in absence of a data error would be likely to reduce the data access latency of the host read request, wherein the determining includes determining whether a probability that a rebuild read request will be subject to a random occurrence of high access latency exceeds a probability threshold; and
based on determining that a proactive rebuild of the data requested by the host read request would be likely to reduce the data access latency of the host read request, the RAID controller initiating the proactive rebuild of the data.

### Claim 2 (depends on 1)

The method of claim 1, wherein:
the monitoring includes monitoring each of the plurality of storage devices for at least an I/O load.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
the RAID controller dynamically determining the latency threshold based on at least an average I/O request response time of a storage device among the plurality of storage devices targeted by the host read request.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
the RAID controller dynamically determining the latency threshold based on at least an I/O load of a storage device among the plurality of storage devices targeted by the host read request.

### Claim 5 (depends on 1)

The method of claim 1, further comprising determining the probability based on a number of high latency I/O requests detected during an observation window preceding the host read request.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
the RAID controller canceling the host read request.

### Claim 7

A data storage system, comprising:
a redundant array of inexpensive disks (RAID) controller for a plurality of storage devices configured as a RAID storage array, wherein the RAID controller is configured to perform:
monitoring the plurality of storage devices in the RAID storage array;
detecting that a host read request of a host has a latency exceeding a latency threshold;
based on the monitoring, determining whether a proactive rebuild of data requested by the host read request in absence of a data error would be likely to reduce the data access latency of the host read request, wherein the determining includes determining whether a probability that a rebuild read request will be subject to a random occurrence of high access latency exceeds a probability threshold; and
based on determining that a proactive rebuild of the data requested by the host read request would be likely to reduce the data access latency of the host read request, initiating the proactive rebuild of the data.

### Claim 8 (depends on 7)

The data storage system of claim 7, wherein:
the monitoring includes monitoring each of the plurality of storage devices for at least an I/O load.

### Claim 9 (depends on 7)

The data storage system of claim 7, wherein the RAID controller is further configured to perform:
dynamically determining the latency threshold based on at least an average I/O request response time of a storage device among the plurality of storage devices targeted by the host read request.

### Claim 10 (depends on 7)

The data storage system of claim 7, wherein the RAID controller is further configured to perform:
dynamically determining the latency threshold based on at least an I/O load of a storage device among the plurality of storage devices targeted by the host read request.

### Claim 11 (depends on 7)

The data storage system of claim 7, wherein the RAID controller is further configured to perform determining the probability based on a number of high latency I/O requests detected during an observation window preceding the host read request.

### Claim 12 (depends on 7)

The data storage system of claim 7, further comprising:
the RAID controller canceling the host read request.

### Claim 13 (depends on 7)

The data storage system of claim 7, further comprising the RAID storage array.

### Claim 14

A program product, comprising:
a storage device;
program code stored on the storage device and executable by a redundant array of inexpensive disks (RAID) controller of a RAID storage array including a plurality of storage devices to cause the RAID controller to perform:
monitoring the plurality of storage devices in the RAID storage array;
detecting that a host read request of a host has a latency exceeding a latency threshold;
based on the monitoring, determining whether a proactive rebuild of data requested by the host read request in absence of a data error would be likely to reduce the data access latency of the host read request, wherein the determining includes determining whether a probability that a rebuild read request will be subject to a random occurrence of high access latency exceeds a probability threshold; and
based on determining that a proactive rebuild of the data requested by the host read request would be likely to reduce the data access latency of the host read request, initiating the proactive rebuild of the data.

### Claim 15 (depends on 14)

The program product of claim 14, wherein:
the monitoring includes monitoring each of the plurality of storage devices for at least an I/O load.

### Claim 16 (depends on 14)

The program product of claim 14, wherein the program code causes the RAID controller to perform:
dynamically determining the latency threshold based on at least an average I/O request response time of a storage device among the plurality of storage devices targeted by the host read request.

### Claim 17 (depends on 14)

The program product of claim 14, wherein the program code causes the RAID controller to perform:
dynamically determining the latency threshold based on at least an I/O load of a storage device among the plurality of storage devices targeted by the host read request.

### Claim 18 (depends on 14)

The program product of claim 14, wherein the program code causes the RAID controller to perform determining the probability based on a number of high latency I/O requests detected during an observation window preceding the host read request.

### Claim 19 (depends on 14)

The program product of claim 14, further comprising:
the RAID controller canceling the host read request.

### Claim 20 (depends on 1)

The method of claim 1, wherein:
the host read request requests a data stripe including multiple data strips;
each of the multiple data strips is stored on a different respective one of the plurality of storage devices; and
determining whether a proactive rebuild of data requested by the host read request in absence of a data error would be likely to reduce the data access latency of the host read request includes determining a number of data strips above a reconstruction threshold required to rebuild the data stripe that are presently available for access.
