# US 2020/0394105 A1 · Storage system with error recovery mechanism and method of operation thereof

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

- Number: US 2020/0394105 A1
- Document ID: US20200394105A1
- Status: Published application
- Kind: A1
- Application number: 16/440,588
- Filed: 2019-06-13
- Published: 2020-12-17
- Earliest claimed: 2019-06-13
- Assignees: CNEX Labs, Inc.
- Applicants: CNEX LABS, Inc.
- Inventors: Jun Tao; Chih-Chieng Cheng; Bo Jiang; Shanying Luo
- Web page: https://patentgrep.com/patent/US20200394105A1

## CPC

- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0631: {by allocating resources to storage systems}
- G06F 3/0635: {by changing the path, e.g. traffic rerouting, path reconfiguration}
- G06F 3/0689: {Disk arrays, e.g. RAID, JBOD}
- G06F 11/0727: {in a storage system, e.g. in a DASD or network based storage system (drivers for digital recording or reproducing units G06F3/06; circuits for error detection or correction within digital recording or reproducing units 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/0793: {Remedial or corrective actions (recovery from an exception in an instruction pipeline G06F9/3861; by retry G06F11/1402; for recovering from a failure of a protocol instance or entity H04L69/40)}
- G06F 11/1048: {using arrangements adapted for a specific error detection or correction feature}
- G06F 11/2053: {where persistent mass storage functionality or persistent mass storage control functionality is redundant (error detection or correction in information storage based on relative movement between record carrier and transducer G11B20/18)}
- G06F 2201/81: Threshold
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A storage system includes: a control processor, configured to: read user data with a read threshold, detect an uncorrectable error in the user data, detect a sector balanced when the number of 1's and 0's in the user data is within the difference stored in a range register, apply an XOR RAID recovery to correct the uncorrectable error in the user data; and a non-volatile memory array, coupled to the control processor, configured to store the user data; and wherein the control processor is further configured to forego an additional read of a sector N with a different value of the read threshold when the sector balanced initiates the XOR RAID recovery.

## Claims

### Claim 1

A storage system comprising:
a control processor, configured to:
read user data with a read threshold,
detect an uncorrectable error in the user data,
detect a sector balanced when the number of 1's and 0's in the user data is within a residual count stored in a range register,
apply an XOR RAID recovery to correct the uncorrectable error in the user data; and
a non-volatile memory array, coupled to the control processor, configured to store the user data; and
wherein the control processor is further configured to forego an additional read of a sector N with a different value of the read threshold when the sector balanced initiates the XOR RAID recovery.

### Claim 2 (depends on 1)

The system as claimed in claim 1 wherein the control processor is further configured to load a data select bus to select one of a sector 0 through the sector N when recovering from the uncorrectable data error.

### Claim 3 (depends on 1)

The system as claimed in claim 1 wherein the control processor is further configured to select the read threshold from an optimal read threshold set when processing the uncorrectable error.

### Claim 4 (depends on 1)

The system as claimed in claim 1 wherein the control processor is further configured to load a register array with the user data from a sector 0 through the sector N for processing the XOR RAID recovery.

### Claim 5 (depends on 1)

The system as claimed in claim 1 wherein the control processor is further configured to generate a RAID parity sector 0-N when writing a physical block with the user data.

### Claim 6 (depends on 1)

The system as claimed in claim 1 wherein the control processor is further configured to load a residual count in a range register in the 1 and 0 counter to activate a detection of the sector balanced.

### Claim 7 (depends on 1)

The system as claimed in claim 1 wherein the control processor is configured to reduce the number of reads of the sector N using the different value of the read threshold when correcting the uncorrectable error.

### Claim 8

A method of operation of a storage system comprising:
reading user data from a non-volatile memory array using a read threshold;
detecting an uncorrectable error in the user data;
detecting a sector balanced when the number of 1's and 0's in the user data is within the difference stored in a range register;
applying an XOR RAID recovery to correct the uncorrectable error in the user data; and
foregoing an additional read of a sector N with a different value of the read threshold when the sector balanced initiates the XOR RAID recovery.

### Claim 9 (depends on 8)

The method as claimed in claim 8 further comprising selecting one of a sector 0 through the sector N when recovering from the uncorrectable data error.

### Claim 10 (depends on 8)

The method as claimed in claim 8 further comprising selecting the read threshold from an optimal read threshold set when processing the uncorrectable error.

### Claim 11 (depends on 8)

The method as claimed in claim 8 further comprising loading a register array with the user data from a sector 0 through the sector N for processing the XOR RAID recovery.

### Claim 12 (depends on 8)

The method as claimed in claim 8 further comprising generating a RAID parity sector 0-N when writing a physical block with the user data.

### Claim 13 (depends on 8)

The method as claimed in claim 8 further comprising loading a residual count in a range register in the 1 and 0 counter to activate a detection of the sector balanced.

### Claim 14 (depends on 8)

The method as claimed in claim 8 further comprising reducing the number of reads of the sector N using a different value of the read threshold when correcting the uncorrectable error.

### Claim 15

A non-transitory computer readable medium including instructions for execution, the medium comprising:
reading user data from a non-volatile memory array using a read threshold;
detecting an uncorrectable error in the user data;
detecting a sector balanced when the number of 1's and 0's in the user data is within the difference stored in a range register;
applying an XOR RAID recovery to correct the uncorrectable error in the user data; and
foregoing an additional read of a sector N with a different value of the read threshold when the sector balanced initiates the XOR RAID recovery.

### Claim 16 (depends on 15)

The medium as claimed in claim 15 further comprising loading a data select bus to select one of a sector 0 through the sector N when recovering from the uncorrectable data error.

### Claim 17 (depends on 15)

The medium as claimed in claim 15 further comprising selecting the read threshold from an optimal read threshold set when processing the uncorrectable error.

### Claim 18 (depends on 15)

The medium as claimed in claim 15 further comprising loading a register array with the user data from a sector 0 through the sector N for processing the XOR RAID recovery.

### Claim 19 (depends on 15)

The medium as claimed in claim 15 further comprising generating a RAID parity sector 0-N when writing a physical block with the user data.

### Claim 20 (depends on 15)

The medium as claimed in claim 15 further comprising loading a residual count in a range register in the 1 and 0 counter to activate a detection of the sector balanced.
