System and method for copy on write on an SSD

US9880755B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9880755-B2
Application numberUS-201514630863-A
CountryUS
Kind codeB2
Filing dateFeb 25, 2015
Priority dateFeb 25, 2015
Publication dateJan 30, 2018
Grant dateJan 30, 2018

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Techniques for improved copy on write functionality within an SSD are disclosed. In some embodiments, the techniques may be realized as a method for providing improved copy on write functionality within an SSD including providing, in memory of a device, an indirection data structure. The data structure may include a master entry for cloned data, the master entry having a reference to one or more indexes and a clone entry for the cloned data, the cloned entry having at least one of: a reference to a master index, a reference to a next index, and a value indicating an end of a data structure. The techniques may include traversing, using a computer processor, one or more copies of the cloned data using one or more of the references.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for providing improved copy on write functionality within an SSD comprising: providing, in memory of a device, an indirection data structure as part of a circularly linked list, the indirection data structure comprising: a master entry for cloned data, the master entry comprising a first plurality of sub-entries, wherein a first sub-entry of the first plurality sub-entries contains a reference to a next index, a second sub-entry of the first plurality of sub-entries contains a reference to a master index, and the remaining sub-entries of the first plurality of sub-entries each contain a packed logical block (PLB); a clone entry for the cloned data, the cloned entry comprising a second plurality of sub-entries, wherein a third sub-entry of the second plurality of sub-entries contains a reference to a master index, a fourth sub-entry of the second plurality of sub-entries contains a reference to a next index, and the remaining sub-entries of the second plurality of sub-entries each contain a PLB; and traversing, using a computer processor, one or more copies of the cloned data using one or more of the references included in the master entry and/or the clone entry; determining that the clone entry for the cloned data is an only clone entry, wherein the determination comprises: determining that the reference to the next index of the cloned entry matches the reference to the master index of the cloned entry; determining that the reference to the next index of the master entry points to the clone entry; uncloning the clone entry of the cloned data by replacing the reference to the next index located in the fourth sub-entry with a PLB, and replacing the reference to the master index located in the third sub-entry with a PLB; and uncloning the master entry of the cloned data by replacing the reference to the next index located in the first sub-entry with a PLB, and replacing the reference to the master index located in the second sub-entry with a PLB; wherein each PLB comprises a map of logical block addresses (LBAs) to a physical address. 2. The method of claim 1 , wherein the references comprise entries in a flat indirection table for logical block addressing. 3. The method of claim 1 , wherein the references comprise entries in a tree data structure for logical block addressing. 4. The method of claim 1 , further comprising setting an indicator for one or more of the packed logical blocks located in the master entry and the cloned entry to indicate that the one or more packed logical blocks are cloned. 5. The method of claim 1 , wherein the reference to the master index of the master entry points to the master entry. 6. The method of claim 1 , wherein the reference to the master index of the cloned entry points to the master entry. 7. The method of claim 1 , wherein a reference to the next index of a last cloned entry in a data structure points to the master entry. 8. The method of claim 1 , further comprising: reviewing a fifth sub-entry of the indirection data structure during a garbage collection process; determining that the fifth sub-entry contains a cloned indicator; and determining that the fifth sub-entry in the garbage collection process is a valid sub-entry not to be deleted based upon the determination that the fifth sub-entry contains the cloned indicator. 9. A computer program product embodied on a non-transitory computer readable medium, comprised of a series of instructions executable on a computer, the computer program product performing a process for providing improved copy on write functionality within an SSD; the computer program implementing the steps of: providing, in memory of a device, an indirection data structure as part of a circularly linked list, the indirection data structure comprising: a master entry for cloned data, the master entry comprising a first plurality of sub-entries, wherein a first sub-entry of the first plurality sub-entries contains a reference to a next index, a second sub-entry of the first plurality of sub-entries contains a reference to a master index, and the remaining sub-entries of the first plurality of sub-entries each contain a packed logical block (PLB); a clone entry for the cloned data, the cloned entry comprising a second plurality of sub-entries, wherein a third sub-entry of the second plurality of sub-entries contains a reference to a master index, a fourth sub-entry of the second plurality of sub-entries contains a reference to a next index, and the remaining sub-entries of the second plurality of sub-entries each contain a PLB; and traversing, using a computer processor, one or more copies of the cloned data using one or more of the references included in the master entry and/or the clone entry; determining that the clone entry for the cloned data is an only clone entry, wherein the determination comprises: determining that the reference to the next index of the cloned entry matches the reference to the master index of the cloned entry; determining that the reference to the next index of the master entry points to the clone entry; uncloning the clone entry of the cloned data by replacing the reference to the next index located in the fourth sub-entry with a PLB, and replacing the reference to the master index located in the third sub-entry with a PLB; and uncloning the master entry of the cloned data by replacing the reference to the next index located in the first sub-entry with a PLB, and replacing the reference to the master index located in the second sub-entry with a PLB; wherein each PLB comprises a map of logical block addresses (LBAs) to a physical address. 10. A system for providing improved copy on write functionality within an SSD, the system comprising: a first device; wherein the first device includes stored instructions stored in memory, the instructions comprising: an instruction to provide, in memory of the first device, an indirection data structure as part of a circularly linked list, the indirection data structure comprising: a master entry for cloned data, the master entry comprising a first plurality of sub-entries, wherein a first sub-entry of the first plurality sub-entries contains a reference to a next index, a second sub-entry of the first plurality of sub-entries contains a reference to a master index, and the remaining sub-entries of the first plurality of sub-entries each contain a packed logical block (PLB); a clone entry for the cloned data, the cloned entry comprising a second plurality of sub-entries, wherein a third sub-entry of the second plurality of sub-entries contains a reference to a master index, a fourth sub-entry of the second plurality of sub-entries contains a reference to a next index, and the remaining sub-entries of the second plurality of sub-entries each contain a PLB; and traversing, using a computer processor, one or more copies of the cloned data using one or more of the references included in the master entry and/or the clone entry; determining that the clone entry for the cloned data is an only clone entry, wherein the determination comprises: determining that the reference to the next index of the cloned entry matches the reference to the master index of the cloned entry; determining that the reference to the next index of the master entry points to the clone entry; uncloning the clone entry of the cloned data by replacing the reference to the next index located in the fourth sub-entry with a PLB, and replacing the reference to the master index located in the third sub-entry with a PLB; and uncloning the master entry of the cloned data by replacing the reference to the next index located in the first sub-entry with a PLB, and replacing th

Assignees

Inventors

Classifications

  • Networked environment · CPC title

  • Performance improvement · CPC title

  • Reliability improvement, data loss prevention, degraded operation etc · CPC title

  • Protection against loss of memory contents {(contains no material, see G06F11/00)} · CPC title

  • Improving I/O performance · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9880755B2 cover?
Techniques for improved copy on write functionality within an SSD are disclosed. In some embodiments, the techniques may be realized as a method for providing improved copy on write functionality within an SSD including providing, in memory of a device, an indirection data structure. The data structure may include a master entry for cloned data, the master entry having a reference to one or mor…
Who is the assignee on this patent?
Western Digital Tech Inc
What technology area does this patent fall under?
Primary CPC classification G06F12/0261. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jan 30 2018 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 3 related publications on this page (citations in our corpus or others sharing the same primary CPC).