Path name cache for notifications of file changes
AssigneeEMC IP Holding Company LLC
InventorDipankar Roy
Life of this patent
Estimating the term…
Abstract
Change notify responses can be utilized to inform a remote computer that a file or directory that is being monitored has changed. A change notify response can include a path name to the file or directory being referenced. In some examples, a cache of path names can be maintained in a user space of a server implementing change notify responses. When a module that generates a change notify response does generate such a response, the module can first access the cache to determine if the relevant path name is located in the cache. Where the relevant path name is not located in the cache, the module can obtain the path name from kernel space and store it in the cache.
Claims20
A system, comprising:
- a processor;
- and
- a memory that stores executable instructions that, when executed by the processor, facilitate performance of operations, comprising:
- retrieving, from a cache, a first identifier of a first path to a first specified file to be deleted, resulting in a retrieved first identifier, wherein the cache is separate from the first specified file;
- sending an indication that the first specified file is deleted to a device external to the system, wherein the indication that the first specified file is deleted is created from the retrieved first identifier;
- and
- populating the cache with a second identifier of a second path to a second specified file to be created, and with a third identifier to a data structure that stores metadata about the second specified file, wherein the third identifier serves as a key to access the second identifier of the second path to the second specified file in the cache.
A method, comprising:
- retrieving, by a system comprising a processor and from a cache, a first identifier of a first path to a first specified file to be deleted, resulting in a retrieved first identifier;
- creating, by the system and based on the retrieved first identifier, an indication that the first specified file is deleted;
- sending, by the system, the indication to a device external to the system;
- and
- populating, by the system, the cache with a second identifier of a second path to a second specified file to be created, and with a third identifier to a data structure that stores metadata about the second specified file, wherein the third identifier serves as a key to access the second identifier.
A non-transitory computer-readable medium comprising instructions that, in response to execution, cause a system comprising a processor to perform operations, comprising:
- retrieving, from a cache, a first identifier of a first path to a first specified file to be deleted, resulting in a retrieved first identifier;
- sending an indication that the first specified file is deleted to a device external to the system, wherein the indication that the first specified file is deleted is created from the retrieved first identifier;
- and
- populating the cache with a second identifier of a second path to a second specified file to be created, and with a third identifier to a data structure that stores metadata about the second specified file, wherein the third identifier serves as a key to access the second identifier.
Dependencies are inferred from the claim text.