×

Systems, methods, and interfaces for managing persistent data of atomic storage operations

  • US 10,133,662 B2
  • Filed: 06/29/2012
  • Issued: 11/20/2018
  • Est. Priority Date: 06/29/2012
  • Status: Active Grant
First Claim
Patent Images

1. An apparatus, comprising:

  • a non-volatile storage medium; and

    a processor configured to execute atomic storage operations on the non-volatile storage medium, wherein executing an atomic operation comprises storing first persistent metadata indicating that the atomic storage operation is incomplete and, in response to completing execution of the atomic storage operation on the non-volatile storage medium, storing second persistent metadata indicating that the atomic storage operation is complete;

    wherein the processor is further configured to perform a first scan of the non-volatile storage medium, the first scan comprising;

    locking access to all of the non-volatile storage medium during the first scan,identifying data of a failed atomic storage operation stored on one or more storage locations of the non-volatile storage medium in response to accessing first persistent metadata pertaining to the failed atomic storage operation, andwriting third persistent metadata on the non-volatile storage medium, the third persistent metadata configured to invalidate the identified data stored on the one or more storage locations independent of the first persistent metadata, wherein the third persistent metadata is appended to the identified data such that the third persistent metadata is written to a first storage location immediately following the one or more storage locations of the identified data, wherein the first storage location is different from a second storage location comprising the first persistent metadata; and

    wherein the processor is further configured to perform a second scan of the non-volatile storage medium, the second scan comprising;

    rebuilding an index comprising associations between data stored on the non-volatile storage medium and logical identifiers of a logical address space based on one or more of the first, second, and third persistent metadata, andunlocking access to the non-volatile storage medium in response to rebuilding the index.

View all claims
  • 9 Assignments
Timeline View
Assignment View
    ×
    ×