×

Transactional processing for clustered file systems

  • US 8,275,815 B2
  • Filed: 08/25/2008
  • Issued: 09/25/2012
  • Est. Priority Date: 08/25/2008
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method comprising:

  • providing a clustered file system (CFS) residing on a cluster of nodes for accessing a shared storage of file system data; and

    providing a local cache memory on each node to reduce file system access to the shared storage and for processing modifications to the file system data;

    providing a list of data segments modified within an ongoing transaction; and

    providing a distributed shared memory (DSM) agent on each node wherein;

    the DSM agents collectively manage access permissions to the entire space of file system data on a data segment basis;

    the DSM agents utilize the distributed cache memories of the CFS as a virtual shared cache to provide transaction based modifications for user defined transactions on a data segment basis and to provide transaction based modifications of CFS defined transactions on the data segment basis;

    each node comprises a local transaction journal for storing committed transactions generated by users on that node;

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

    for each modified data segment, the rollback procedure identifies the location of the latest contents prior to the transaction 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 it was inserted into the list, then the latest contents of this data segment appears in its final location in the shared storage;

    the type of each data segment is recorded in the list during insertion of the data segment into the list;

    and wherein;

    all data segments in the list whose latest contents appear in their final location are discarded from the cache;

    for all the other data segments in the list, their latest contents are restored from the journal into the cache, by scanning the journal from its ending to its beginning and considers the first occurrences of these data segments in the journal, and then setting their modification indication to true; and

    the procedure releases the exclusive permissions on all the data segments involved in the cancelled transaction.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×