Method of improving disk array data reconstruction efficiency

A technology of data reconstruction and disk array, applied in hardware redundancy for data error detection, response error generation, input/output to record carrier, etc., can solve the problems of array failure, time-consuming, long time, etc. , to prevent refactoring

Inactive Publication Date: 2013-07-03
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF5 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

RAID5 supports the failure of one disk. When a disk fails and degrades, adding a hot spare disk for recovery is equivalent to performing a consistency check. The task must traverse all the data on the member disk, which is a very important task. Time-consuming work, and as the capacity of the disk increases, the process will take longer
[0004] In this process, if another disk fails, due to the redundancy mechanism of RAID5, it cannot be recovered, and the entire array will fail.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method of improving disk array data reconstruction efficiency
  • Method of improving disk array data reconstruction efficiency
  • Method of improving disk array data reconstruction efficiency

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] The method of the present invention is described in detail below with reference to the accompanying drawings.

[0017] At present, the soft RAID in the kernel is reconstructed according to the stripes. After reading all the data disks and verifying, the obtained data is written to the added hot spare disk; this process must include read and write operations, and it is completed in two steps. , read and write operations have to wait for each other, which is a serial operation, which reduces efficiency (such as figure 1 ). The present invention separates reading and writing, only allows the stripe processing thread A to perform the reading operation, reads and verifies the data in the array except the hot spare disk, and releases the occupied stripe cache immediately after the operation is completed; and Another disk write operation is performed by a single thread B; the speed of reading and writing can be coordinated with each other (such as figure 2 ). In this way,...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method of improving the disk array data reconstruction efficiency. The method is characterized in that a reconstruction process of treating a same stripe is carried out in two threads, as for one thread, disk reading operation is carried out only, as for the other thread, disk writing operation is carried out, and the amount of data blocks of a buffer queue is limited and is larger than that of stripe buffer so as to asynchronously write data without influencing the disk reading operation; the data of an original data disk is read and is checked, and the data obtained by checking is added into the buffer queue; and the other thread used for disk writing acquires the data from the buffer queue. With the adoption of the method, the position of writing the data per time needs to be marked and recorded and can be updated into super block information, thus preventing reconstruction starting anew after restart due to power off.

Description

technical field [0001] The invention relates to the technical field of computer systems and storage, in particular to a method for improving data reconstruction efficiency of disk arrays. Background technique [0002] At present, soft RAID in the kernel reconstructs data according to stripes, reads all data disks and writes the obtained data to the added hot spare disk after verification; this process must include read and write operations, divided into two parts step is completed, read and write operations have to wait for each other, which is a serial operation, which reduces efficiency (such as figure 1 ). [0003] For a RAID5 system with redundant verification information, the data of each member disk cannot guarantee the consistency of the stripe data when the RAID5 is newly created. The inconsistency of the data makes the system unable to process the host IO request according to the normal process, and the obtained verification Data may be wrong, so these levels of R...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/16G06F3/06
Inventor 古世磊吴庆民
Owner LANGCHAO ELECTRONIC INFORMATION IND CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products