×

Transactional file system

  • US 8,510,336 B2
  • Filed: 07/13/2011
  • Issued: 08/13/2013
  • Est. Priority Date: 03/30/2000
  • Status: Expired due to Fees
First Claim
Patent Images

1. In a transactional file system, a method of recording page changes in a transactional log, comprising:

  • receiving a request, from a transaction, to update a file;

    copying a page into memory, the page including the file;

    prior to applying the update to the file within the page in memory;

    adding an undo record to a transactional log in persistent storage to reflect the update, the undo record including a cycle count that represents a current status of the page;

    copying the page to a data stream in persistent storage, the data stream being separate from the transactional log, the page including a plurality of sectors;

    replacing a portion of each of the plurality of sectors within the data stream with the cycle count that is included in the undo record;

    wherein each portion of the plurality of sectors that is replaced by the cycle count is also written to the undo record corresponding to that cycle count;

    wherein maintaining the cycle count within the copied page in the data stream and within the undo record enables the data stream and the transactional log to be written to persistent storage in an arbitrary order while still enabling the data stream and transactional log to be used to recover from a system failure during the transaction.

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