×

FILE SYSTEM HAVING TRANSACTION RECORD COALESCING

  • US 20110072060A1
  • Filed: 11/29/2010
  • Published: 03/24/2011
  • Est. Priority Date: 07/01/2005
  • Status: Active Grant
First Claim
Patent Images

1. An electronic data system comprising:

  • a memory comprising stored data;

    a file system code executable to organize and maintain the stored data in a plurality of files and a plurality of directories;

    a transaction file maintained by the file system code in the memory, the transaction file comprising a plurality of transaction records stored on the memory, where the transaction records correspond to a plurality of transactions on at least one of the files and the directories, where each transaction record of the transaction records comprises a header section and a data section, where the header section of each respective one of the transaction records identifies at least one of a file and a directory associated with the data section of the respective one of the transaction records, and the file and the directory are included in at the least one of the files and the directories; and

    where the file system code coalesces the transaction records stored on the memory by;

    scanning the header section of each transaction record of the transaction records for identification of a first subset of the transaction records directed to a same file, a second subset of the transaction records directed to a same logical portion of one of the files, and a third subset of the transaction records directed to a same directory; and

    at least one of;

    combining the first subset of the transaction records identified during the scanning as directed to the same file into one or more first coalesced transaction records and releasing one or more transaction records of the first subset of the transaction records identified as directed to the same file as free memory thereby reducing an amount of the memory used by the transaction file,combining the second subset of the transaction records identified during the scanning as directed to the same logical portion of the file into one or more second coalesced transaction records and releasing one or more transaction records of the second subset of the transaction records identified as directed to the same logical portion of the file as free memory thereby reducing the amount of the memory used by the transaction file, andcombining the third subset of the transaction records identified during the scanning as directed to the same directory into one or more third coalesced transaction records and releasing one or more transaction records of the third subset of the transaction records identified as directed to the same directory as free memory thereby reducing the amount of the memory used by the transaction file;

    where the header section of each respective one of the transaction records further comprises a first field from which the file system code determines a starting address at which the data section is to be written into the at least one of the file and the directory identified in the header section, and a second field from which the file system code determines an amount of the at least one of the file and the directory that is to be overwritten.

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