×

Concurrent access and transactions in a distributed file system

  • US 9,697,227 B2
  • Filed: 10/27/2014
  • Issued: 07/04/2017
  • Est. Priority Date: 10/27/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method for performing a transaction in a distributed file system, the method comprising:

  • in response to a request to perform a file system operation, identifying a first set of file system objects modified in performing the requested file system operation, wherein each file system object has an associated inode;

    upon determining that a first one of the inodes in the first set of file system objects stores an update intent from an incomplete file system operation;

    identifying, in the update intent from the incomplete file system operation, a first ordered sequence of inodes, the first ordered sequence associated with the incomplete file system operation,retrieving, as available, the inodes specified by the first ordered sequence, andupon determining (i) that a first set of one or more inodes at the beginning of the first ordered sequence includes the update intent related to the incomplete file system operation and (ii) that a second set of one or more inodes following the first set of indoes does not include the update intent related to the incomplete file system operation, removing the update intent from each inode specified by the first ordered sequence that includes the update intent;

    inserting an update intent corresponding to the requested file system operation into the inode associated with each identified file system object, wherein the inserted update intent specifies a second ordered sequence of inodes, the second ordered sequence being associated with the requested file system operation; and

    for each inode in the second ordered sequence;

    modifying either the inode or the file system object corresponding to the inode as specified by the update intent in that inode, andafter modifying the inode or the file system object corresponding to the inode, removing the update intent from that inode.

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