Patent ID: 11874741
Assignee: DAPUSTOR CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 13:
14. A non-transitory computer-readable storage medium, storing a computer program, wherein the computer program, when executed by a processor, implements operations comprising:
writing data into the non-transitory computer-readable storage medium;
in response to determining that a write failure occurs during writing the data into the non-transitory computer-readable storage medium, extracting original data, corresponding to the data failed to be written, from a memory and extracting original verification data from an original RAID stripe, the original RAID stripe comprising the data failed to be written and the original verification data corresponding to the data failed to be written;
obtaining new verification data by performing a calculation on the original data extracted from the memory and the original verification data by using a preset verification algorithm;
forming a new RAID stripe by using valid data other than the original data in the original RAID stripe and the new verification data based on the original data extracted from the memory, and recording data relations in the new RAID stripe, the new RAID stripe comprising the new verification data based on the calculation on the original data from the memory and the valid data other than the original data corresponding to the data failed to be written; and
recovering, when a reading failure occurs during reading the data in the new RAID stripe, according to the data relations in the new RAID stripe, the data failed to be read.