Copy-offload on a device stack
US-9715351-B2 · Jul 25, 2017 · US
US10061540B1 · US · B1
| Field | Value |
|---|---|
| Publication number | US-10061540-B1 |
| Application number | US-201615199166-A |
| Country | US |
| Kind code | B1 |
| Filing date | Jun 30, 2016 |
| Priority date | Jun 30, 2016 |
| Publication date | Aug 28, 2018 |
| Grant date | Aug 28, 2018 |
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.
A method is provided for performance by a mapping driver of a computing device operating as a data storage system. The method includes (a) receiving, from a storage driver stack, a first data storage command (DSC), (b) receiving, from the storage driver stack, a second DSC, (c) determining that the first DSC and the second DSC are both related aspects of a combined storage command, (d) in response to determining, establishing a pairing structure to pair the first DSC and the second DSC together, and (e) fulfilling the combined storage command by fulfilling both the first DSC and the second DSC with reference to the pairing structure. An apparatus, system, and computer program product for performing a similar method are also provided.
Opening claim text (preview).
What is claimed is: 1. A method performed by a mapping driver of a computing device operating as a data storage system, the method comprising: receiving, from a storage driver stack, a first data storage command (DSC); receiving, from the storage driver stack, a second DSC, wherein receiving the second DSC from the storage driver stack includes: in response to receiving the first DSC, sending a request up the storage driver stack requesting another DSC having a same combined storage command identifier as the first DSC; and in response to sending the request up the storage driver stack, receiving the second DSC from the storage driver stack, the second DSC having the same combined storage command identifier as the first DSC; determining that the first DSC and the second DSC are both related aspects of a combined storage command; in response to determining, establishing a pairing structure to pair the first DSC and the second DSC together; and fulfilling the combined storage command by fulfilling both the first DSC and the second DSC with reference to the pairing structure. 2. The method of claim 1 wherein the first DSC is received prior to the second DSC and the method further comprises: successfully completing the combined storage command; in response to successfully completing, reporting success as response to the first DSC; and in response to successfully completing, refraining from responding to the second DSC. 3. The method of claim 1 wherein the method further comprises: receiving a cancellation command directing the data storage system to cancel the combined storage command prior to successfully completing the combined storage command; in response to receiving the cancellation command, reporting an error as response to the first DSC; and in response to receiving the cancellation command, reporting an error as response to the second DSC. 4. The method of claim 1 wherein: the combined storage command is a copy command issued by a remote host instructing the data storage system to copy data from a source location to a destination location; the first DSC is a source command directing the data storage system to copy from the source location, the source command specifying a source device, a source offset, and a length; and the second DSC is a destination command directing the data storage system to copy to the destination location, the destination command specifying a destination device and a destination offset. 5. The method of claim 4 wherein establishing the pairing structure includes: creating a source descriptor structure that specifies the source device, the source offset, and the length; creating a destination descriptor structure that specifies the destination device and the destination offset; inserting a reference to the destination descriptor structure within the source descriptor structure; and inserting a reference to the source descriptor structure within the destination descriptor structure. 6. The method of claim 5 wherein fulfilling the combined storage command includes sending the source descriptor structure and the destination descriptor structure to an I/O Coordination module configured to: translate the source location from a logical source address to a physical source address; and translate the destination location from a logical destination address to a physical destination address. 7. The method of claim 4 wherein fulfilling the combined storage command by fulfilling both the first DSC and the second DSC with reference to the pairing structure includes: translating the source location from a logical source address to a physical source address; translating the destination location from a logical destination address to a physical destination address; and sending a copy DSC to a physical storage driver directing the physical storage driver to copy data from the physical source address to the physical destination address, the physical storage driver being able to fulfill the copy DSC without communicating with any driver in the storage driver stack above the mapping driver. 8. The method of claim 1 wherein: the combined storage command is a mirrored write command issued by a remote host instructing the data storage system to write data to both a first destination location and a second destination location in a mirrored fashion; the first DSC is a first write command directing the data storage system to write the data to the first destination location, the first write command specifying a first destination device, a first destination offset, and a first length; and the second DSC is a second write command directing the data storage system to write the data to the second destination location, the second write command specifying a second destination device and a second destination offset. 9. The method of claim 8 wherein fulfilling the combined storage command by fulfilling both the first DSC and the second DSC with reference to the pairing structure includes: translating the first destination location from a first logical destination address to a first physical destination address; translating the second destination location from a second logical destination address to a second physical destination address; and sending a copy DSC to a physical storage driver directing the physical storage driver to copy data from first physical destination address to the second physical destination address, the physical storage driver being able to fulfill the copy DSC without communicating with any driver in the storage driver stack above the mapping driver. 10. A computer program product comprising a non-transitory computer-readable storage medium storing instructions, which, when executed by a computing device cause the computing device to operate a mapping driver of a data storage system by: receiving, from a storage driver stack, a first data storage command (DSC); receiving, from the storage driver stack, a second DSC; determining that the first DSC and the second DSC are both related aspects of a combined storage command; in response to determining, establishing a pairing structure to pair the first DSC and the second DSC together; and fulfilling the combined storage command by fulfilling both the first DSC and the second DSC with reference to the pairing structure; wherein: the combined storage command is a copy command issued by a remote host instructing the data storage system to copy data from a source location to a destination location; the first DSC is a source command directing the data storage system to copy from the source location, the source command specifying a source device, a source offset, and a length; the second DSC is a destination command directing the data storage system to copy to the destination location, the destination command specifying a destination device and a destination offset; and establishing the pairing structure includes: creating a source descriptor structure that specifies the source device, the source offset, and the length; creating a destination descriptor structure that specifies the destination device and the destination offset; inserting a reference to the destination descriptor structure within the source descriptor structure; and inserting a reference to the source descriptor structure within the destination descriptor structure. 11. The computer program product of claim 10 wherein fulfilling the combined storage command includes sending the source descriptor structure and the destination descriptor structure to an I/O Coordination module configured to: translate the source location from a logical source address to a physical source address; and translate the destina
in relation to response time · CPC title
Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS] · CPC title
Command handling arrangements, e.g. command buffers, queues, command scheduling · CPC title
Replication mechanisms · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.