DIRECTORY LEASING
1 Assignment
0 Petitions
Accused Products
Abstract
Described are embodiments for allowing clients that access a distributed file system to locally cache directory metadata. The client may request a read lease which allows the client to cache the directory metadata locally and service requests received from the same application which originally requested the directory metadata using the cache. In addition, the client may also request a handle lease which allows a client to delay the closing of a directory handle and allow the handle to be reused to service subsequent directory metadata requests from the same or a different application. A client may also request a write lease which allows an application on the client to modify the directory metadata, such as by creating or deleting new files in the directory, or changing their attributes, and cache those changes.
4 Citations
40 Claims
-
1-20. -20. (canceled)
-
21. A method comprising:
-
receiving, from a requesting device, a request for directory metadata, wherein the request comprises; a request for a handle to a directory containing the directory metadata; a request for a lease, wherein the lease allows local caching of directory metadata until revocation of the lease; a key, wherein the key is associated with a first directory that includes the requested directory metadata; and a directory key, wherein the directory key is associated with a second directory, wherein the first directory is included in the second directory; and transmitting a response to the requesting device, wherein the response comprises the directory metadata and an indication of an approval of the request for the lease. - View Dependent Claims (22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 37)
-
-
32. A computer-readable storage device encoding computer executable instructions which, when executed by at least one processor, performs a method, the method comprising:
-
receiving, from a requesting device, a request for directory metadata, wherein the request comprises; a request for a handle to a directory containing the directory metadata; a request for a lease, wherein the lease allows local caching of directory metadata until revocation of the lease; a key, wherein the key is associated with a first directory that includes the requested directory metadata; and a directory key, wherein the directory key is associated with a second directory, wherein the first directory is included in the second directory; and transmitting a response to the requesting device, wherein the response comprises the directory metadata and an indication of an approval of the request for the lease. - View Dependent Claims (33, 34, 35, 36)
-
-
38. A system comprising:
-
a processor; and a memory coupled to the processor, the memory for storing instructions which, when executed by the processor, performs a method, the method comprising; receiving a request for directory metadata, wherein the request comprises; a request for a handle to a directory containing the directory metadata; a request for a lease for enabling local caching of directory metadata; a key associated with a first directory that includes the requested directory metadata; and a directory key associated with a second directory; and transmitting an approval response to the requesting device, wherein the response comprises an indication of an approval of the request for the lease. - View Dependent Claims (39, 40)
-
Specification