×

Pre-fetching data for a distributed filesystem

  • US 8,788,628 B1
  • Filed: 11/14/2011
  • Issued: 07/22/2014
  • Est. Priority Date: 11/14/2011
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for pre-fetching data in a distributed filesystem, the method comprising:

  • collectively managing data coherency for the data of the distributed filesystem using two or more cloud controllers by;

    collectively presenting a unified namespace for the distributed filesystem to the clients of the distributed filesystem via the two or more cloud controllers, wherein the clients can only access the distributed filesystem via the cloud controllers, wherein the file data for the distributed filesystem is stored in a remote cloud storage system using encrypted cloud files, wherein each cloud controller caches a subset of the file data from the remote cloud storage system that is being actively accessed by that cloud controller'"'"'s respective clients, wherein all new file data received by each cloud controller from its clients is written to the remote cloud storage system via the receiving cloud controller;

    maintaining at each cloud controller a copy of the complete metadata for all of the files stored in the distributed filesystem, wherein each cloud controller communicates any changes to the metadata for the distributed filesystem to the full set of cloud controllers for the distributed filesystem to ensure that the clients of the distributed filesystem share a consistent view of each file in the distributed filesystem;

    upon receiving in a cloud controller new file data from a client, storing the new file data for the distributed filesystem as cloud files in the remote cloud storage system;

    upon receiving confirmation that the new cloud files have been successfully stored in the remote cloud storage system, sending from the cloud controller an incremental metadata snapshot that includes new metadata for the distributed filesystem that describes the new file data and links to the new cloud files, wherein the incremental metadata snapshot is received by the other cloud controllers of the distributed filesystem and used to ensure data coherency for the distributed filesystem;

    receiving at the cloud controller a request from a client to access a data block for a file;

    traversing the cloud controller'"'"'s copy of the metadata for the distributed filesystem to identify a metadata entry associated with the data block;

    using the metadata entry to download a cloud file containing the data block from the remote cloud storage system to the cloud controller;

    determining that an additional cloud file in the remote cloud storage system includes data that is likely to be accessed in conjunction with the data block; and

    pre-fetching the additional cloud file from the remote cloud storage system to the cloud controller.

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