×

Transaction log layout for efficient reclamation and recovery

  • US 9,952,765 B2
  • Filed: 10/06/2015
  • Issued: 04/24/2018
  • Est. Priority Date: 10/01/2015
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • receiving at a storage system an input/output (I/O) request, wherein the storage system includes a persistent memory coupled to a central processor (CPU) and one or more storage devices;

    associating a transaction with the I/O request;

    allocating a circular log from the persistent memory to a first finite state machine (FSM) for processing the transaction, the first FSM associated with a token identifier (ID);

    logging a start entry in the circular log;

    in response to processing the transaction, recording one or more entries to the circular log, each recorded entry including a sequence number and a token ID field;

    in response to a crash of the storage system, scanning the recorded entries of the circular log to determine whether the first FSM is active at a time of the crash; and

    in response to determining that the first FSM is active at the time of the crash, replaying the recorded entries of the circular log having the token ID as a value of the token ID field.

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