System and method for managing file system references at scale
AssigneeEMC IP Holding Company LLC
InventorJean-Pierre Bono
Life of this patent
Estimating the term…
Abstract
A system for managing file systems includes memory. The system also includes a manager. The memory is used for storing in-memory data structures. The manager obtains file system references for a file system from a file system manager. The file system manager utilizes storage to provide the file system references. The manager stores the file system references in an in-memory data structure in the memory. To service file system reference requests, the manager utilizes uses the in-memory data structure to service at least one of the file system reference requests.
Claims17
A system for managing file systems, comprising:
- memory;
- and
- a manager programmed to:
- obtain file system references for a file system from a file system manager that utilizes storage to provide the file system references;
- store the file system references in an in-memory data structure in the memory, wherein the in-memory data structure comprises an availability indicator, a reference counter, a current use counter, and a completed use counter associated with the file system references;
- and
- service a file system reference request for the file system using the in-memory data structure, wherein servicing the file system reference request for the file system using the in-memory data structure comprises:
- obtaining the file system reference request;
- in response to obtaining the file system reference request:
- determining a file system entry for the file system reference request in the in-memory data structure;
- making a determination, based on that the current use counter and the completed use counter match, that a portion of the in- memory data structure associated with the file system entry is in an active activity state;
- in response to the file system entry is in the active activity state:
- obtaining a file system reference from the file system entry;
- providing the file system reference to an entity to service the file system reference request;
- and
- modifying the completed use counter to indicate non-use of the file system entry.
A method for managing file systems, comprising:
- obtaining file system references for a file system from a file system manager that utilizes storage to provide the file system references;
- storing the file system references in an in-memory data structure, wherein the in-memory data structure comprises an availability indicator, a reference counter, a current use counter, and a completed use counter associated with the file system references;
- and
- servicing a file system reference request for the file system using the in-memory data structure, wherein servicing the file system reference request for the file system using the in-memory data structure comprises:
- obtaining the file system reference request;
- in response to obtaining the file system reference request:
- determining a file system entry for the file system reference request in the in-memory data structure;
- making a determination, based on that the current use counter and the completed use counter match, that a portion of the in- memory data structure associated with the file system entry is in an active activity state;
- in response to the file system entry is in the active activity state:
- obtaining a file system reference from the file system entry;
- providing the file system reference to an entity to service the file system reference request;
- and
- modifying the completed use counter to indicate non-use of the file system entry.
A non-transitory computer readable medium comprising computer readable program code, which when executed by a computer processor enables the computer processor to perform a method for managing file systems, the method comprising:
- obtaining file system references for a file system from a file system manager that utilizes storage to provide the file system references;
- storing the file system references in an in-memory data structure, wherein the in-memory data structure comprises an availability indicator, a reference counter, a current use counter, and a completed use counter associated with the file system references;
- and
- servicing a file system reference request for the file system using the in-memory data structure, wherein servicing the file system reference request for the file system using the in-memory data structure comprises:
- obtaining the file system reference request;
- in response to obtaining the file system reference request:
- determining a file system entry for the file system reference request in the in-memory data structure;
- making a determination, based on that the current use counter and the completed use counter match, that a portion of the in- memory data structure associated with the file system entry is in an active activity state;
- in response to the file system entry is in the active activity state:
- obtaining a file system reference from the file system entry;
- providing the file system reference to an entity to service the file system reference request;
- and
- modifying the completed use counter to indicate non-use of the file system entry.
Dependencies are inferred from the claim text.