×

Concurrent transactional checkpoints in a clustered file system

  • US 8,516,020 B2
  • Filed: 08/06/2012
  • Issued: 08/20/2013
  • Est. Priority Date: 08/25/2008
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for performing concurrent transactional checkpoints from a plurality of file system agents residing on different nodes within in a clustered file system (CFS) using a processor device, the method comprising:

  • assigning to one of the plurality of file system agents responsibility to checkpoint a modified data segment and a committed data segment to a final storage location, wherein the one of the plurality of file system agents assigned is the one of the plurality of file system agents whose associated distributed shared memory (DSM) agent is an owner of a data segment;

    including a transaction journal in each node for storing committed transactions generated by users on that node;

    scanning a list to identify the location of the latest contents of a data segment prior to the transaction using a rollback procedure;

    for each modified data segment, identifying the location of the latest contents prior to the transaction using the rollback procedure by;

    if the data segment was marked as modified in the cache at the time it was inserted into the list, then the latest contents of this data segment appears only in the journal,otherwise, if the data segment was not marked as modified in the cache at the time the data segment was inserted into the list, then the latest contents of this data segment appears in its final location in the shared storage; and

    recording a type of each data segment in the list during insertion of the data segment into the list, wherein;

    all data segments in the list whose latest contents appear in a final location are discarded from the cache,for all the other data segments in the list, latest contents for the all the other data segments are restored from the journal into the cache by scanning the local transaction journal from ending to beginning, and first occurrences of these data segments in the local transaction journal are considered, and a modification indication of the data segments is set as true, and exclusive permissions on all the data segments involved in a cancellation transaction are released.

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