Recovery of page description blocks based on context

US11269746B1 · US · B1

Patent metadata
FieldValue
Publication numberUS-11269746-B1
Application numberUS-202117156030-A
CountryUS
Kind codeB1
Filing dateJan 22, 2021
Priority dateJan 22, 2021
Publication dateMar 8, 2022
Grant dateMar 8, 2022

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.

A method performed by a computing device having memory is provided. The method includes (a) detecting corruption in a first page description block (PDB) of a plurality of PDBs stored in sequence in the memory, each PDB storing a set of page descriptors (PDs) that point to pages of data sequentially stored in the memory that are part of a single transaction, PDBs that represent the same transaction being contiguous within the sequence; (b) searching for a second PDB of the plurality of PDBs, the second PDB satisfying the following criteria: (1) it is not corrupted, and (2) it represents a same transaction as the first PDB; and (c) reconstructing the first PDB using the second PDB. An apparatus, system, and computer program product for performing a similar method are also provided.

First claim

Opening claim text (preview).

What is claimed is: 1. A method, performed by a computing device having memory, the method comprising: detecting corruption in a first page description block (PDB) of a plurality of PDBs stored in sequence in the memory, each PDB storing a set of page descriptors (PDs) that point to pages of data sequentially stored in the memory that are part of a single transaction, PDBs that represent the same transaction being contiguous within the sequence; searching for a second PDB of the plurality of PDBs, the second PDB satisfying the following criteria: (1) it is not corrupted, and (2) it represents a same transaction as the first PDB; and reconstructing the first PDB using the second PDB. 2. The method of claim 1 wherein searching includes, for a candidate PUB, determining whether it represents the same transaction as the first PDB based on (a) an index of the candidate PDB within its transaction and (b) a position within the sequence of the candidate PDB compared to the first PDB. 3. The method of claim 2 wherein the candidate PDB is located immediately prior to the first PDB, and determining whether it represents the same transaction as the first PDB includes: reading, from the candidate PDB, (i) the index of the candidate PDB within its transaction and (ii) a total number of PDBs that represent its transaction; and determining whether the total number exceeds the index. 4. The method of claim 2 wherein the candidate PDB is located subsequent to the first PDB, and determining whether it represents the same transaction as the first PDB includes: reading, from the candidate PDB, the index of the candidate PDB within its transaction; calculating a distance flow the first PDB to the candidate PDB, the distance being inclusive of endpoints; and determining whether the distance is less than or equal to the index. 5. The method of claim 1 wherein reconstructing the first PDB using the second PDB includes: reading an index of the second PDB within its transaction from the second PDB; calculating an index of the first PDB within its transaction by subtracting a distance of the second PDB from the first PDB from the index of the second PDB within its transaction; and storing the calculated index of the first PDB in a reconstruction of the first PDB. 6. The method of claim 1 wherein reconstructing the first PDB using the second PDB includes: reading a value of a pointer of an initial PD of the second PDB from the second PDB; calculating a value of a pointer of an initial PD of the first PDB by: determining a distance of the second PDB from the first PDB; multiplying the distance by a maximum number of PDs allowed per PDB, yielding a product; and subtracting the product from the value of the pointer of the initial PD of the second PDB; and storing the calculated value of the pointer of the initial PD of the first PDB in a reconstruction of the first PDB. 7. The method of claim 1 wherein reconstructing the first PDB using the second PDB includes: reading header information from the second PDB; and storing the read header information in a reconstruction of the first PDB. 8. The method of claim 1 wherein: the memory of the computing device includes a non-volatile memory portion (NVMP) and a volatile system memory portion; the plurality of PDBs are stored in sequence in the NVMP, each page of data pointed to by the PDs of the plurality of PDBs also being stored in the NVMP; the method further comprises, in response to the computing device restarting, attempting to copy contents of the NVMP into the volatile system memory portion; and detecting corruption in the first PDB is performed while attempting to copy contents of the NVMP into the volatile system memory portion. 9. The method of claim 8 wherein: the computing device is a data storage apparatus (DSA) coupled to another DSA, each DSA being configured to perform data storage operations on a set of shared persistent storage, the DSA and the other DSA being configured to operate in an active-active arrangement, each transaction represented by the PDBs belonging to either the DSA or the other DSA, the NVMP being shared between the DSA and the other DSA; the plurality of PDBs are stored within a first ring buffer of the NVMP shared between the DSA and the other DSA; the NVMP includes a second ring buffer assigned to the DSA and a third ring buffer assigned to the other DSA; and each page of data pointed to by the PDs of the plurality of PDBs is stored in one of the second ring buffer of the NVMP and the third ring buffer of the NVMP, based on whether the transaction represented by the PDB whose PDs point to that page belongs to the DSA or the other DSA, respectively. 10. An apparatus comprising: memory; and processing circuitry coupled to the memory, configured to: detect corruption in a first page description block (PDB) of a plurality of PDBs stored in sequence in the memory, each PDB storing a set of page descriptors (PDs) that point to pages of data sequentially stored in the memory that are part of a single transaction, PDBs that represent the same transaction being contiguous within the sequence; search for a second PDB of the plurality of PDBs, the second PDB satisfying the following criteria: (1) it is not corrupted, and (2) it represents a same transaction as the first PDB; and reconstruct the first PDB using the second PDB. 11. The apparatus of claim 10 wherein searching includes, for a candidate PDB, determining whether it represents the same transaction as the first PDB based on (a) an index of the candidate PDB within its transaction and (b) a position within the sequence of the candidate PDB compared to the first PDB. 12. The apparatus of claim 11 wherein, when the candidate PDB is located immediately prior to the first PDB, determining whether it represents the same transaction as the first PDB includes: reading, from the candidate PDB, (i) the index of the candidate PDB within its transaction and (ii) a total number of PDBs that represent its transaction; and determining whether the total number exceeds the index. 13. The apparatus of claim 11 wherein, when the candidate PDB is located subsequent to the first PDB, determining whether it represents the same transaction as the first PDB includes: reading, from the candidate PDB, the index of the candidate PDB within its transaction; calculating a distance from the first PDB to the candidate PDB, the distance being inclusive of endpoints; and determining whether the distance is less than or equal to the index. 14. The apparatus of claim 10 wherein reconstructing the first PDB using the second PDB includes: reading an index of the second PDB within its transaction from the second PDB; calculating an index of the first PDB within its transaction by subtracting a distance of the second PDB from the first PDB from the index of the second PDB within its transaction; and storing the calculated index of the first PDB in a reconstruction of the first PDB. 15. The apparatus of claim 10 wherein reconstructing the first PDB using the second PDB includes: reading a value of a pointer of an initial PD of the second PDB from the second PDB; calculating a value of a pointer of an initial PD of the first PDB by: determining a distance of the second PDB from the first PDB; multiplying the distance by a maximum number of PDs allowed per PDB, yielding a product; and subtracting the product from the value of the pointer of the initial PD of the second PDB; and storing the calculated value of the pointer of the initial PD of the first PDB in a reco

Assignees

Inventors

Classifications

  • Plural cache memories · CPC title

  • Non-volatile memory · CPC title

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

  • Allocation or management of cache space · CPC title

  • Data transfer between cache memory and other subsystems, e.g. storage devices or host systems · 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 US11269746B1 cover?
A method performed by a computing device having memory is provided. The method includes (a) detecting corruption in a first page description block (PDB) of a plurality of PDBs stored in sequence in the memory, each PDB storing a set of page descriptors (PDs) that point to pages of data sequentially stored in the memory that are part of a single transaction, PDBs that represent the same transact…
Who is the assignee on this patent?
Emc Ip Holding Co Llc
What technology area does this patent fall under?
Primary CPC classification G06F11/1435. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Mar 08 2022 00:00:00 GMT+0000 (Coordinated Universal Time) (B1). 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).