System and method for handling uncorrectable data errors in high-capacity storage
AssigneeAlibaba Group Holding Limited
InventorShu Li
Life of this patent
Estimating the term…
Abstract
One embodiment described herein provides a method and system for handling errors in a storage system. During operation a data-placement module of the storage system detects an error occurring at a first physical location within the storage system. In response to determining that the error occurs during a write access, the system writes to-be-written data into a second physical location within the storage system, and updates a mapping between a logical address and a physical address associated with the to-be-written data.
Claims17
A computer-implemented method for handling errors in a storage system, the method comprising:
- detecting, by a data-placement module of the storage system, an error occurring at a first physical location within the storage system;
- in response to determining that the error occurs during a write access, writing to-be-written data into a second physical location within the storage system;
- updating a mapping between a logical address and a physical address associated with the to-be-written data;
- in response to determining that the error occurs during a read access that belongs to a background process,
- determining a destination physical location associated with to-be-read data based on a current mapping table,
- writing dummy data into the destination physical location and
- indicating, by setting a data-incorrect flag, in a mapping table entry associated with the to-be-read data that current data stored at the destination physical location is incorrect;
- retrieving a copy of the to-be-read data from a second storage system;
- and
- serving the read access using the retrieved copy.
A storage system, comprising:
- a plurality of storage drives;
- and
- a data-placement module coupled to the storage drives, wherein the data-placement module is configured to:
- detect an error occurring at a first physical location within the storage drives;
- in response to determining that the error occurs during a write access, write to-be-written data into a second physical location within the storage drives;
- update a mapping between a logical address and a physical address associated with the to-be-written data;
- in response to determining that the error occurs during a read access that belongs to a background process,
- determine a destination physical location associated with to-be-read data based on a current mapping table,
- write dummy data into the destination physical location, and
- indicate, by setting a data-incorrect flag, in a mapping table entry associated with the to-be-read data that current data stored at the destination physical location is incorrect;
- retrieve a copy of the to-be-read data from a second storage system;
- and
- serve the read access using the retrieved copy.
Dependencies are inferred from the claim text.