Invention Grant
- Patent Title: Write hole protection method and system for raid, and storage medium
-
Application No.: US17642643Application Date: 2019-11-27
-
Publication No.: US11650880B2Publication Date: 2023-05-16
- Inventor: Peiren Shi
- Applicant: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
- Applicant Address: CN Jiangsu
- Assignee: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
- Current Assignee: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
- Current Assignee Address: CN Jiangsu
- Agency: Cooper Legal Group, LLC
- Priority: CN 1910995233.2 2019.10.18
- International Application: PCT/CN2019/121096 2019.11.27
- International Announcement: WO2021/072917A 2021.04.22
- Date entered country: 2022-03-11
- Main IPC: G06F11/00
- IPC: G06F11/00 ; G06F11/10 ; G06F11/14

Abstract:
A write hole protection method and system for a RAID, and a storage medium. The method comprises: presetting a log area, and after a RAID is degraded, setting the log area to be in an enabled state; when the log area is in the enabled state, determining, before each stripe write operation, whether a data block of a failed member disk of the RAID in a stripe is a check data block; if the data block is not the check data block, determining whether data blocks to be written of the stripe comprise a data block to be written into the failed member disk; if yes, backing up the data block to be written into the failed member disk in the log area; if not, calculating the data block of the failed member disk and backing up the data block in the log area, or backing up the data blocks to be written in the log area; and when the degraded RAID is started after a failure, performing data recovery using the log area. By using the present solution, the write hole issue of the RAID is avoided.
Public/Granted literature
- US20220350703A1 WRITE HOLE PROTECTION METHOD AND SYSTEM FOR RAID, AND STORAGE MEDIUM Public/Granted day:2022-11-03
Information query