ON-SSD erasure coding with uni-directional commands
Abstract
Systems and methods for a controller including controller memory and logic are presented herein. The logic is configured to control access to a persistent storage media and, in response to one or more commands, determine an intermediate parity value based on a first parity calculation by sending a uni-directional command to the persistent storage media. The logic is further configured to store, in the controller memory, the intermediate parity value, and determine a final parity value based on the intermediate parity value and a second parity calculation.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 20 · Forward citations: 0.
Claims (27 — 4 Independent, 23 Dependent)
- Claim 1Independent Claim
An erasure coding (EC) controller, comprising: one or more substrates; EC controller memory; and logic coupled to the one or more substrates, the logic configured to control access to a persistent storage media and, in response to one or more commands, the logic is further configured to: determine an intermediate parity value based on a first parity calculation by sending a uni-directional command to the persistent storage media, store, in the EC controller memory, the intermediate parity value, and determine a final parity value based on the intermediate parity value and a second parity calculation.
- Claim 2Depends on #1
The EC controller of claim 1, wherein to determine the intermediate parity value, the logic is configured to determine the intermediate parity value based on the first parity calculation of an erasure coding (EC) offload logic of the persistent storage media.
- Claim 3Depends on #2
The EC controller of claim 2, wherein to determine the intermediate parity value the logic is configured to send, the uni-directional command to the EC offload logic to cause the EC offload logic to: read an old data value from a first address indicated in the uni-directional command; perform an exclusive-or operation on the old data value and a new data value indicated in the uni-directional command to determine the intermediate parity value; and store in the persistent storage media the intermediate parity value at a first location associated to a first index indicated in the uni-directional command.
- Claim 4Depends on #3
The EC controller of claim 3, wherein, the uni-directional command causes the EC offload logic to: write the new data value at the first address.
- Claim 5Depends on #2
The EC controller of claim 2, wherein the intermediate parity value is a first intermediate parity value and the logic is further configured to send a second uni-directional command to cause the EC offload logic to: read a second intermediate parity value from a second location associated to a second index indicated in the second uni-directional command; and store the second intermediate parity value at a second address indicated in the second uni-directional command.
- Claim 6Depends on #5
The EC controller of claim 5, wherein the second intermediate parity value is the first intermediate parity value.
- Claim 7Depends on #1
The EC controller of claim 1, wherein the persistent storage media comprises a solid state drive.
- Claim 8Independent Claim
An electronic storage system, comprising: persistent storage media; and an erasure coding (EC) controller communicatively coupled to the persistent storage media, the EC controller including EC controller memory and logic configured to control access to the persistent storage media and, in response to one or more commands, the logic is further configured to: determine an intermediate parity value based on a first parity calculation by sending a uni-directional command to the persistent storage media, store, in the EC controller memory, the intermediate parity value, and determine a final parity value based on the intermediate parity value and a second parity calculation.
- Claim 9Depends on #8
The system of claim 8, wherein the persistent storage media comprises erasure coding (EC) offload logic configured to: perform the first parity calculation; and receive the uni-directional command.
- Claim 10Depends on #9
The system of claim 9, wherein, in response to the uni-directional command, the EC offload logic is further configured to: read an old parity data value from an address indicated in the uni-directional command; and store the old parity data value at a location associated to an index indicated in the uni-directional command.
- Claim 11Depends on #10
The system of claim 10, wherein the intermediate parity value is a first intermediate parity value and in response to the uni-directional command, the EC offload logic is further configured to: perform the second parity calculation based on the old parity data value, a second intermediate parity value indicated in the uni-directional command, and a coefficient value indicated in the uni-directional command to determine the final parity value; and write the final parity value at the address.
- Claim 12Depends on #11
The system of claim 11, wherein the second intermediate parity value is the first intermediate parity value.
- Claim 13Depends on #9
The system of claim 9, wherein, in response to a second uni-directional command, the EC offload logic is further to: read an old data value from a second address indicated in the second uni-directional command; perform an exclusive-or operation on the old data value and a new data value indicated in the second uni-directional command to determine the intermediate parity value; and store in the persistent storage media the intermediate parity value at a second location associated to a second index indicated in the second uni-directional command.
- Claim 14Depends on #9
The system of claim 9, wherein the persistent storage media comprises a solid state drive.
- Claim 15Independent Claim
A method of controlling storage, comprising: controlling, by an erasure coding (EC) controller, access to a persistent storage media and, in response to one or more commands: determining an intermediate parity value based on a first parity calculation by sending a uni-directional command to the persistent storage media, storing, in a memory of the EC controller, the intermediate parity value; and determining a final parity value based on the intermediate parity value and a second parity calculation.
- Claim 16Depends on #15
The method of claim 15, wherein determining the intermediate parity value comprises determining the intermediate parity value based on the first parity calculation by an erasure coding (EC) offload logic of the persistent storage media.
- Claim 17Depends on #16
The method of claim 16, further comprising, in response to the sending of the uni-directional command to the persistent storage media: reading an old data value from a first address indicated in the uni-directional command; performing an exclusive-or operation on the old data value and a new data value indicated in the uni-directional command to determine the intermediate parity value; and storing in the persistent storage media the intermediate parity value at a first location associated to a first index indicated in the uni-directional command.
- Claim 18Depends on #17
The method of claim 17, further comprising, in response to the sending of the uni-directional command to the persistent storage media: writing the new data value at the first address.
- Claim 19Depends on #15
The method of claim 15, further comprising sending a second uni-directional command to the persistent storage media and in response to sending the second uni-directional command to the persistent storage media: reading an old parity data value from a second address indicated in the second uni-directional command; and storing the old parity data value at a second location associated to a second index indicated in the second uni-directional command.
- Claim 20Depends on #19
The method of claim 19, wherein the intermediate parity value is a first intermediate parity value and the method further comprising, in response to the sending of the second uni-directional command to the persistent storage media: performing the second parity calculation based on the old parity data value, a second intermediate parity value indicated in the second uni-directional command, and a coefficient value indicated in the second uni-directional command to determine the final parity value; and writing the final parity value at the second address.
- Claim 21Depends on #20
The method of claim 20, wherein the second intermediate parity value is the first intermediate parity value.
- Claim 22Independent Claim
At least one non-transitory machine readable medium comprising a plurality of instructions that, in response to being executed on an erasure coding (EC) controller comprising EC controller memory, cause the EC controller to control access to a persistent storage media and, in response to one or more commands: determine an intermediate parity value based on a first parity calculation by sending a uni-directional command to the persistent storage media; store, in the EC controller memory, the intermediate parity value; and determine a final parity value based on the intermediate parity value and a second parity calculation.
- Claim 23Depends on #22
The at least one non-transitory machine readable medium of claim 22, wherein to determine the intermediate parity value, the EC controller is configured to determine the intermediate parity value based on the first parity calculation of an erasure coding (EC) offload logic of the persistent storage media.
- Claim 24Depends on #23
The at least one non-transitory machine readable medium of claim 23, comprising a plurality of further instructions that, in response to being executed on the EC controller, and in response to sending the uni-directional command to the persistent storage media, cause the EC offload logic to: read an old data value from a first address indicated in the uni-directional command; perform an exclusive-or operation on the old data value and a new data value indicated in the uni-directional command to determine the intermediate parity value; perform a multiplication operation based on the intermediate parity value and a coefficient value indicated in the uni-directional command to determine the final parity value; and write the final parity value at a second address indicated in the uni-directional command.
- Claim 25Depends on #23
The at least one non-transitory machine readable medium of claim 23, wherein the intermediate parity value is a first intermediate parity value and the at least one non-transitory machine readable medium comprising a plurality of further instructions that, in response to being executed on the EC controller, and in response to sending a second uni-directional command to the persistent storage media, cause the EC offload logic to: read a second intermediate parity value from a second location associated to a second index indicated in the second uni-directional command; and store the second intermediate parity value at a third address indicated in the second uni-directional command.
- Claim 26Depends on #25
The at least one non-transitory machine readable medium of claim 25, wherein the second intermediate parity value is the first intermediate parity value.
- Claim 27Depends on #22
The at least one non-transitory machine readable medium of claim 22, wherein the persistent storage media comprises a solid state drive.
Technical Overview & Description
CROSS REFERENCE TO RELATED APPLICATIONS This application is a continuation of U.S. patent application Ser. No. 17/801,417, filed Aug. 22, 2022, which is a national stage application under 35 U.S.C. § 371 of International Application No. PCT/CN2020/076072, filed Feb. 20, 2020, which are incorporated by reference herein in their entireties. TECHNICAL FIELD Embodiments generally relate to electronic storage systems. More particularly, embodiments relate to on-solid state drive (SSD) erasure coding with uni-directional commands. BACKGROUND Some storage systems use erasure-coding (EC) technology and corresponding data layouts for volume member drives for improving data reliability and durability. Examples of EC systems include redundant array of independent disks (RAID) systems such as RAID5, RAID6, etc. with one or two additional drives in a volume, and M+P (e.g., 6+3) EC utilized in some cloud-storage systems, for the purpose of staging redundant data. More generally, in an M+P EC configuration, M+P drives are used to encode data originally intended to be stored on M drives, by using P additional drives. The stored data across the drives includes P drives' worth of parity data that is used to recover the system from failure of up to P drives. BRIEF DESCRIPTION OF THE DRAWINGS The material described herein is illustrated by way of example and not by way of limitation in the accompanying figures. For simplicity and clarity of illustration, elements illustrated in the figures are not necessarily drawn to scale. For example, the dimensions of some elements may be exaggerated relative to other elements for clarity. Further, where considered appropriate, reference labels have been repeated among the figures to indicate corresponding or analogous elements. In the figures: FIG. 1 is a block diagram of an example of an electronic storage device according to an embodiment; FIG. 2 is a block diagram of an example of an electronic apparatus according to an embodiment; FIGS. 3 A to
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (20)
Non-Patent Literature (6)
- H. Akutsu, T. Yamamoto, K. Ueda and H. Saito,
- “
- MEC: Network Optimized Multi-stage Erasure Coding for Scalable Storage Systems,
- ”
- 2017 IEEE 22nd Pacific Rim International Symposium on Dependable Computing (PRDC), Christchurch, New Zealand, 2017, pp. 292-300, (Year: 2017).
- International Search report for PCT/CN2020/076072, dated Nov. 23, 2020 (2 pages).