×

Versioned file system with fast restore

  • US 9,274,896 B2
  • Filed: 08/04/2014
  • Issued: 03/01/2016
  • Est. Priority Date: 08/30/2010
  • Status: Active Grant
First Claim
Patent Images

1. A non-transitory computer-readable medium having stored thereon program instructions that, when executed by a processor, cause the processor to:

  • perform operations associated with a versioned file system comprising a set of versions, wherein each version comprises a tree of write-once objects, wherein versions share objects, and wherein each version has a borrow window associated therewith, the borrow window identifying a fixed number of subsequent file system versions from which an object can be shared;

    in response to a receipt of a request to restore a portion of a prior version of the versioned file system, return file and directory metadata of the restored portion prior to returning contents of the restored portion;

    determine whether a current version of the file system is within the respective borrow windows of shared objects associated with the restored portion;

    if the current version of the file system is within the respective borrow windows of the shared objects associated with the restored portion, restore the contents of the restored portion without overwriting data in the current version by associating the shared objects for the restored portion with a new location in the versioned file system, wherein the association results in first and second identifiers within the versioned file system pointing to identical data objects in the restored portion, the first and second identifiers associated with the prior version and a new version, respectively;

    if the current version does not exist within the respective borrow windows of the shared objects associated with the restored portion, perform a slow restore of the restored portion; and

    upon receipt of a request to open the restored portion that is distinct from the request to restore, return the contents of the restored portion regardless of whether current version exists within the respective borrow windows.

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