×

Deleting a file from a distributed filesystem

  • US 9,678,968 B1
  • Filed: 02/15/2013
  • Issued: 06/13/2017
  • Est. Priority Date: 05/03/2010
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for deleting a file from a distributed filesystem, the method comprising:

  • collectively managing the data of the distributed filesystem using two or more cloud controllers, wherein the cloud controllers store metadata for the distributed filesystem;

    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 access the distributed filesystem via the cloud controllers, wherein the file data for the distributed filesystem is stored in the cloud storage system, 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 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 metadata for the files stored in the distributed filesystem, wherein changes to the metadata for the distributed filesystem are synchronized across the cloud controllers, wherein synchronizing metadata includes synchronizing deduplication information across the cloud controllers, wherein each cloud controller maintains a deduplication table that tracks deduplicated data for the distributed filesystem;

    receiving at a cloud controller a request from a client to delete a target file in the distributed filesystem;

    updating a user view of the distributed filesystem to present an appearance of the target file being deleted to clients of the cloud controller;

    notifying the set of cloud controllers of the pending delete of the target file via an incremental metadata snapshot, wherein upon receiving the incremental metadata snapshot the other cloud controllers in the set of cloud controllers also present an appearance of the target file being deleted to their clients to ensure that the delete operation is consistent across the distributed filesystem; and

    initiating a background deletion operation across the cloud controllers to delete the target file without negatively affecting the performance of other users of the distributed filesystem, wherein the background deletion operation comprises using the incremental metadata snapshot to update the deduplication tables across the set of cloud controllers to reflect deduplication updates for the deletion of the target file.

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