Method and system for calculating parity values for multi-dimensional raid
First Claim
1. A method for calculating parity values, comprising:
- performing, using a first datum, a first plurality of parity value calculations to obtain a first plurality of parity values, wherein the first datum is associated with a first RAID Grid location in a first parity calculation block (PCB) in a RAID Grid, wherein the RAID Grid comprises a first dimension and a second dimension, wherein at least one of the first plurality of parity values is associated with a first parity RAID Grid location in the first dimension and at least one of the first plurality of parity values is associated with a second parity RAID Grid location in the second dimension;
performing, using a second datum, a second plurality of parity value calculations to obtain a second plurality of parity values, wherein the second datum is associated with a second RAID Grid location in the first PCB;
performing, using a third datum and at least one selected from a group consisting of at least one of the first plurality of parity values and at least one of the second plurality of parity values, a third plurality of parity value calculations to obtain a third plurality of parity values, wherein the third datum is associated with a third RAID Grid location in the first PCB;
performing, using a fourth datum and at least one selected from a group consisting of at least one of the first plurality of parity values and at least one of the second plurality of parity values, a fourth plurality of parity value calculations to obtain a fourth plurality of parity values, wherein the fourth datum is associated with a fourth RAID Grid location in the first PCB; and
storing each of the fourth plurality of parity values in at least one selected from a group consisting of cache, memory, and persistent storage, wherein each of the fourth plurality of parity values is associated with a separate RAID Grid location in the RAID Grid.
10 Assignments
0 Petitions
Accused Products
Abstract
A method for calculating parity values including calculating a first set of parity values using datum stored in RAID Grid locations in a first PCB, where datum associated with the RAID Grid locations in the first PCB is obtained in a first order that is based on a Hilbert curve. The method further includes calculating a second set of parity values using datum stored in RAID Grid locations in a second PCB, where datum associated with the RAID Grid locations in the second PCB is obtained in a second order that is based on the Hilbert curve. The method further includes storing at least a portion of the first set of parity values and a second set of parity values in a cache, memory, or persistent storage, where each of the first parity values and second parity values is associated with a separate RAID Grid location in the RAID Grid.
-
Citations
18 Claims
-
1. A method for calculating parity values, comprising:
-
performing, using a first datum, a first plurality of parity value calculations to obtain a first plurality of parity values, wherein the first datum is associated with a first RAID Grid location in a first parity calculation block (PCB) in a RAID Grid, wherein the RAID Grid comprises a first dimension and a second dimension, wherein at least one of the first plurality of parity values is associated with a first parity RAID Grid location in the first dimension and at least one of the first plurality of parity values is associated with a second parity RAID Grid location in the second dimension; performing, using a second datum, a second plurality of parity value calculations to obtain a second plurality of parity values, wherein the second datum is associated with a second RAID Grid location in the first PCB; performing, using a third datum and at least one selected from a group consisting of at least one of the first plurality of parity values and at least one of the second plurality of parity values, a third plurality of parity value calculations to obtain a third plurality of parity values, wherein the third datum is associated with a third RAID Grid location in the first PCB; performing, using a fourth datum and at least one selected from a group consisting of at least one of the first plurality of parity values and at least one of the second plurality of parity values, a fourth plurality of parity value calculations to obtain a fourth plurality of parity values, wherein the fourth datum is associated with a fourth RAID Grid location in the first PCB; and storing each of the fourth plurality of parity values in at least one selected from a group consisting of cache, memory, and persistent storage, wherein each of the fourth plurality of parity values is associated with a separate RAID Grid location in the RAID Grid. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method for calculating parity values, comprising:
-
calculating a first set of parity values for a RAID Grid using datum stored in each of a plurality of RAID Grid locations in a first parity calculation block (PCB), wherein the datum associated with each of the plurality of RAID Grid locations in the first PCB is obtained in a first order and wherein the first order is based on a Hilbert curve wherein, based on the first order, a first parity value is calculated using a first datum in a first RAID Grid location in the first PCB, and a second parity value is calculated using a second datum in a last RAID Grid location in the first PCB, wherein the last RAID Grid location is adjacent to the first RAID Grid location, wherein the first PCB comprises N RAID Grid locations, wherein N≧
4;calculating a second set of parity values for the RAID Grid using datum stored in each of a plurality of RAID Grid locations in a second PCB, wherein the datum associated with each of the plurality of RAID Grid locations in the second PCB is obtained in a second order and wherein the second order is based on the Hilbert curve; and storing at least a portion of the first set of parity values and a second set of parity values in at least one selected from a group consisting of cache, memory, and persistent storage, wherein each of the first plurality of parity values and each of the second plurality of parity values is associated with a separate RAID Grid location in the RAID Grid. - View Dependent Claims (12, 13, 14, 15, 16)
-
-
17. A method for calculating parity values, comprising:
-
calculating a first set of parity values for a RAID Grid using datum stored in each of a plurality of RAID Grid locations in a first parity calculation block (PCB), wherein datum associated with each of the plurality of RAID Grid locations in the first PCB is obtained in a first order, wherein the first order is based on a Hilbert curve, wherein the first PCB comprises N RAID Grid locations in a first dimension and N RAID Grid locations in a second dimension, wherein N≧
2, wherein a cache is configured to store only 2N+1 values, wherein each of the 2N+1 values is one selected from a group consisting of datum and a parity value;calculating a second set of parity values for the RAID Grid using datum stored in each of a plurality of RAID Grid locations in a second PCB, wherein the datum associated with each of the plurality of RAID Grid locations in the second PCB is obtained in a second order and wherein the second order is based on the Hilbert curve; and storing at least a portion of the first set of parity values and the second set of parity values in at least one selected from a group consisting of the cache, memory, and persistent storage, wherein each of the first set of parity values and the second set of parity values is associated with a separate RAID Grid location in the RAID Grid.
-
-
18. A method for calculating parity values, comprising:
-
calculating a first set of parity values for a RAID Grid using datum stored in each of a plurality of RAID Grid locations in a first parity calculation block (PCB), wherein datum associated with each of the plurality of RAID Grid locations in the first PCB is obtained in a first order, wherein the first order is based on a Hilbert curve, and wherein the first PCB comprises N RAID Grid locations in a first dimension and N RAID Grid locations in a second dimension, wherein N≧
2, wherein a cache is configured to store only 4N+1 values, wherein each of the values is one selected from a group consisting of datum and a parity value;calculating a second set of parity values for the RAID Grid using datum stored in each of a plurality of RAID Grid locations in a second PCB, wherein the datum associated with each of the plurality of RAID Grid locations in the second PCB is obtained in a second order and wherein the second order is based on the Hilbert curve; and storing at least a portion of the first set of parity values and a second set of parity values in at least one selected from a group consisting of the cache, memory, and persistent storage, wherein each of the first set of parity values and second set of parity values is associated with a separate RAID Grid location in the RAID Grid.
-
Specification