×

Providing file system quota support for a file system having separated data and metadata

  • US 8,892,507 B1
  • Filed: 07/09/2013
  • Issued: 11/18/2014
  • Est. Priority Date: 03/29/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method for performing quota management in a distributed file system comprising:

  • receiving, using a processor, an allocation quota specifying an upper limit of storage available for allocation for a quota set of the distributed file system, wherein the distributed file system includes a first set of one or more metadata file systems storing metadata about files in the distributed file system and a second set of data file systems storing file content data for files of the distributed file system, wherein for at least some files in the distributed file system, metadata for each of the at least some files is stored in at least one of the metadata file systems of the first set and content data for each of the at least some files is stored in at least one of the data file systems of the second set;

    partitioning, by a coordinator and using a processor, the allocation quota among the data file systems of the second set, wherein each of the data file systems of the second set is an allocator of storage, wherein each of the data file systems of the second set receives a portion of the allocation quota specifying an upper limit of storage that said each data file system has available for allocation for the quota set, wherein the portion of the allocation quota assigned to at least a first of the data file systems includes an amount of reserved storage provisionally granted to the first data file system for servicing storage requests for the quota set;

    allocating, using a processor, storage for client requests, wherein said allocating is performed by each of the data file systems of the second set in accordance with the portion of the allocation quota assigned to said each data file system;

    receiving, by the coordinator from a second of the data file systems of the second set and using a processor, a storage reservation request for reserved storage provisionally granted to the second data file system for use in servicing storage requests for the quota set;

    determining, by the coordinator and using a processor, that there is an insufficient amount of free space of the allocation quota for the quota set to grant the storage reservation request; and

    responsive to said determining that there is an insufficient amount of free space, performing, by the coordinator and using a processor, first processing to recall at least some reserved storage which has been provisionally granted to one or more of the data file systems and which has not yet been allocated.

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