Method for quickly initializing bitmap page management by RAID5
A RAID-5 and page management technology, applied in the direction of memory address/allocation/relocation, input/output to record carrier, etc., can solve problems such as wrong results, inconsistent stripes, loss of redundancy, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0017] The method of the present invention is described in detail below with reference to the accompanying drawings.
[0018] The invention is developed on the basis of soft RAID in the linux kernel. Use a bitmap to mark areas that have been written or synchronized. When RAID-5 processes a stripe write request, it first judges whether the bit in the bitmap corresponding to the stripe is 0. If it is 0, it means that the stripe is out of sync, and the write request is processed by reconstructing the write method. After completion, position 1 in the corresponding bitmap indicates that the stripes have been synchronized. Further, when all the stripes have been synchronized, the RAID-5 is marked as "synchronized".
[0019] The case where a bit in a bitmap corresponds to a stripe has been done before. However, one bit corresponding to one strip has many limitations in actual use. If each stripe is 4KB corresponding to 1 bit to divide, for a 2TB disk, the bitmap needs about 62MB. ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 