Repairing raid systems at per-stripe granularity
US-10365983-B1 · Jul 30, 2019 · US
US10564878B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-10564878-B2 |
| Application number | US-201816021673-A |
| Country | US |
| Kind code | B2 |
| Filing date | Jun 28, 2018 |
| Priority date | Jun 30, 2017 |
| Publication date | Feb 18, 2020 |
| Grant date | Feb 18, 2020 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
Implementations of the subject matter described herein provide a storage management method and system. The storage management method comprises: in response to receiving a write request, dividing data to be written into a plurality of data blocks with a predetermined size, the plurality of data blocks having their respective logic block addresses; evenly mapping, based on the logic block addresses, the plurality of data blocks to a plurality of RAID extents of a Redundant Array of Independent Disks (RAID); mapping the plurality of data blocks in the plurality of RAID extents to the disk, so that the plurality of data blocks are distributed in order of size of logic block addresses in the disk.
Opening claim text (preview).
We claim: 1. A storage management method, comprising: in response to receiving a write request, dividing data to be written into a plurality of data blocks with a predetermined size, the plurality of data blocks having respective logic block addresses; evenly mapping, based on the logic block addresses, the plurality of data blocks to a plurality of Redundant Array of Independent Disks (RAID) extents of a RAID; and mapping the plurality of data blocks in the plurality of RAID extents to a disk such that the plurality of data blocks are distributed in order of size of the logic block addresses in the disk, wherein determining position information of the plurality of data blocks which are evenly mapped to the plurality of RAID extents comprises: determining, based on indices of the data blocks in a related logic unit and the number of the RAID extents, position information of the data blocks which are mapped to the RAID extents, and wherein determining position information of the data blocks which are mapped to the RAID extents comprises: determining, based on remainders obtained by dividing indices by a number of the RAID extents, sequence numbers of the data blocks which are mapped to the RAID extents; and determining, based on quotients obtained by dividing the indices by the number of the RAID extents, internal offsets of the data blocks which are distributed to the RAID extents. 2. The method according to claim 1 , wherein a number of data blocks in the RAID is greater than a number of RAID extents in the RAID, such that the data blocks in the logic unit are evenly mapped to all the RAID extents of the RAID. 3. A storage management method, comprising: in response to receiving a write request, dividing data to be written into a plurality of data blocks with a predetermined size, the plurality of data blocks having respective logic block addresses; evenly mapping, based on the logic block addresses, the plurality of data blocks to a plurality of Redundant Array of Independent Disks (RAID) extents of a RAID; and mapping the plurality of data blocks in the plurality of RAID extents to a disk such that the plurality of data blocks are distributed in order of size of the logic block addresses in the disk, wherein determining position information of the plurality of data blocks which are mapped to a disk comprises: determining internal offsets of the data blocks which are mapped to the disk based on a number of disk extents included in the disk, a number of data blocks included in the disk extents and indices of the data blocks in a related logic unit. 4. The method according to claim 3 , wherein a number of data blocks in the RAID is greater than a number of RAID extents in the RAID, such that the data blocks in the logic unit are evenly mapped to all the RAID extents of the RAID. 5. A storage management system, comprising: a storage unit configured to store one or more programs; and a processing unit coupled to the storage unit and configured to execute the one or more programs to cause the system to perform acts comprising: in response to receiving a write request, dividing data to be written into a plurality of data blocks with a predetermined size, the plurality of data blocks having their respective logic block addresses; evenly mapping, based on the logic block addresses, the plurality of data blocks to a plurality of Redundant Array of Independent Disks (RAID) extents of a RAID; and mapping the plurality of data blocks in the plurality of RAID extents to a disk such that the plurality of data blocks are distributed in order of size of the logic block addresses in the disk, wherein determining position information of the plurality of data blocks which are evenly mapped to the plurality of RAID extents comprises: determining, based on indices of the data blocks in a related logic unit and the number of the RAID extents, position information of the data blocks which are mapped to the RAID extent, and wherein determining position information of the data blocks which are mapped to the RAID extents comprises: determining, based on remainders obtained by dividing indices by a number of the RAID extents, sequence numbers of the data blocks which are mapped to the RAID extents; and determining, based on quotients obtained by dividing the indices by the number of the RAID extents, internal offsets of the data blocks which are distributed to the RAID extents. 6. The system according to claim 5 , wherein a number of data blocks in the RAID is greater than a number of RAID extents in the RAID, such that the data blocks in the logic unit are evenly mapped to all the RAID extents of the RAID. 7. A storage management system, comprising: a storage unit configured to store one or more programs; and a processing unit coupled to the storage unit and configured to execute the one or more programs to cause the system to perform acts comprising: in response to receiving a write request, dividing data to be written into a plurality of data blocks with a predetermined size, the plurality of data blocks having their respective logic block addresses; evenly mapping, based on the logic block addresses, the plurality of data blocks to a plurality of Redundant Array of Independent Disks (RAID) extents of a RAID; and mapping the plurality of data blocks in the plurality of RAID extents to a disk such that the plurality of data blocks are distributed in order of size of the logic block addresses in the disk, wherein determining position information of the plurality of data blocks which are mapped to a disk comprises: determining internal offsets of the data blocks which are mapped to the disk based on a number of disk extents included in the disk, a number of data blocks included in the disk extents and indices of the data blocks in a related logic unit. 8. The system according to claim 7 , wherein a number of data blocks in the RAID is greater than a number of RAID extents in the RAID, such that the data blocks in the logic unit are evenly mapped to all the RAID extents of the RAID. 9. A computer program product for storage management, the computer program product comprising: a non-transitory computer readable medium encoded with computer-executable code, the code configured for the execution of: in response to receiving a write request, dividing data to be written into a plurality of data blocks with a predetermined size, the plurality of data blocks having respective logic block addresses; evenly mapping, based on the logic block addresses, the plurality of data blocks to a plurality of Redundant Array of Independent Disks (RAID) extents of a RAID; and mapping the plurality of data blocks in the plurality of RAID extents to a disk such that the plurality of data blocks are distributed in order of size of the logic block addresses in the disk; wherein determining position information of the plurality of data blocks which are evenly mapped to the plurality of RAID extents comprises: determining, based on indices of the data blocks in a related logic unit and the number of the RAID extents, position information of the data blocks which are mapped to the RAID extents; and wherein determining position information of the data blocks which are mapped to the RAID extents comprises: determining, based on remainders obtained by dividing indices by a number of the RAID extents, sequence numbers of the data blocks which are mapped to the RAID extents; and determining, based on quotients obtained by dividing the indices by the number of the RAID extents, internal offsets of the data blocks which are distributed to the RAID extents. 10. The computer program product of clai
Related publications grouped by family.
Answers are generated from the same data shown on this page.