File creation
AssigneeHewlett Packard Enterprise Development LP
InventorsSudheer Kurichiyath, Neducheralathan Shanmugam
Life of this patent
Estimating the term…
Abstract
The present subject matter relates to file creation. In one example a user request for creating a new file is received. An inode corresponding to a pre-created file is retrieved from a pre-created pool of files in response to receiving the user request. Further, the inode is associated with an in-memory dentry corresponding to the new file. Further, a log entry is created in an intent log to indicate intent of lazy linking of the pre-created file with a target directory in which the new file is to be created. Further, lazy linking of the pre-created file with the target directory is performed using a file system link operation upon occurrence of a predefined event.
Claims15
A method comprising:
- receiving a user request for creating a new file;
- retrieving an inode corresponding to a pre-created file from a pre-created pool of files in response to receiving the user request;
- associating the inode with an in-memory dentry corresponding to the new file;
- creating a log entry in an intent log to indicate intent of lazy linking of the pre-created file with a target directory in which the new file is to be created;
- and
- lazy linking of the pre-created file with the target directory using a file system link operation upon occurrence of a predefined event.
A system comprising:
- a processor;
- a processing module coupled to the processor, wherein the processing module is to:
- retrieve an inode corresponding to a pre-created file from a pre-created pool of files in response to a user request received for creating a new file;
- associate the inode with an in-memory dentry corresponding to the new file;
- mark the in-memory dentry for lazy linking of the pre-created file with a target directory in which the new file is to be created;
- and
- create a log entry in an intent log to indicate intent of lazy linking the pre-created file with the target directory;
- and
- a lazy linking module coupled to the processor, wherein the lazy linking module is to:
- initiate a file system link operation for linking the pre-created file with the target directory for creating the new file upon occurrence of a predefined event.
A non-transitory computer readable medium having a set of computer readable instructions that, when executed, cause a processor to:
- populate a pre-created pool of files;
- retrieve an inode corresponding to a pre-created file from the pre-created pool of files upon receiving a user request for creating a new file;
- associate the inode with an in-memory dentry corresponding to the new file;
- mark the in-memory dentry for lazy linking of the pre-created file with a target directory in which the new file is to be created;
- and
- create a log entry in an intent log to indicate intent of lazy linking the pre-created file with the target directory for creating the new file.
Dependencies are inferred from the claim text.