File system management
First Claim
Patent Images
1. A method comprising:
- by a kernel of a computing device;
receiving a request to perform an operation on a file;
reading a file attribute when a flag bit associated with the file indicates that special file handling should be performed;
determining, based on the special file handling, that a file content needs to be downloaded before the operation can be performed;
invoking by the kernel a user space file handler to perform a particular action, wherein the particular action comprises;
i) downloading the file content and ii) modifying the file based on the file content to produce a modified file;
holding the operation and setting a time for the file handler to perform the particular action without setting any resource locks;
determining that the particular action has been performed by the file handler; and
allowing the operation to be performed on the modified file.
0 Assignments
0 Petitions
Accused Products
Abstract
Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for file system management. In one aspect, a method includes receiving a request at a kernel to perform a file operation on a particular file; identifying a flag bit associated with the file; invoking user space file handler to perform particular action when the flag bit is set; determining whether notification that action has been performed by file handler is received; and allowing the file operation on the file when notification is received.
342 Citations
32 Claims
-
1. A method comprising:
-
by a kernel of a computing device; receiving a request to perform an operation on a file; reading a file attribute when a flag bit associated with the file indicates that special file handling should be performed; determining, based on the special file handling, that a file content needs to be downloaded before the operation can be performed; invoking by the kernel a user space file handler to perform a particular action, wherein the particular action comprises;
i) downloading the file content and ii) modifying the file based on the file content to produce a modified file;holding the operation and setting a time for the file handler to perform the particular action without setting any resource locks; determining that the particular action has been performed by the file handler; and allowing the operation to be performed on the modified file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A system comprising:
-
one or more computing devices operable to perform operations comprising; receiving a request at a kernel to perform an operation on a file; reading a file attribute when a flag bit associated with the file indicates that special file handling should be performed; determining, based on the file attribute, that a file content needs to be downloaded before the operation can be performed; invoking by the kernel a user space file handler to perform a particular action, wherein the particular action comprises;
i) downloading the file content and ii) modifying the file based on the file content to produce a modified file;holding the operation and setting a time for the file handler to perform the particular action without setting any resource locks; determining at the kernel that the particular action has been performed by the file handler; and allowing, at the kernel, the operation to be performed on the modified file. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20)
-
-
21. A non-transitory computer storage medium encoded with a computer program, the program comprising instructions that when executed by data processing apparatus cause the data processing apparatus to perform operations comprising:
-
receiving a request at a kernel to perform an operation on a file; reading a file attribute when a flag bit associated with the file indicates that special file handling should be performed; determining, based on the special file handling, that a file content needs to be downloaded before the operation can be performed; invoking by the kernel a user space file handler to perform a particular action, wherein the particular action comprises;
i) downloading the file content and ii) modifying the file based on the file content to produce a modified file;holding the operation and setting a time for the file handler to perform the particular action without setting any resource locks; determining that the particular action has been performed by the file handler; and allowing the operation to be performed on the modified file. - View Dependent Claims (22, 23, 24, 25, 26, 27, 28)
-
-
29. A method comprising:
-
by a kernel of a computing device; receiving a request to perform an operation on a file; reading metadata associated with the file, the metadata indicating whether a prior operation has been performed on the file within a time period; invoking a user space file handler to perform an action in user space when no prior operation has been performed within the time period; holding the operation and setting a time for the file handler to perform the particular action without setting any resource locks; determining that the action has been performed by the file handler in user space; and allowing the operation to be performed on the file. - View Dependent Claims (30, 31, 32)
-
Specification