FILE SYSTEM MANAGEMENT
First Claim
Patent Images
1. A method comprising:
- by a kernel of a device;
receiving a request to perform an operation on a file;
reading a flag bit from an i-node or from a catalog record, wherein the i-node or the catalog record is associated with the file;
reading a file attribute when the flag bit 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;
determining that the particular action has been performed by the user space 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.
-
Citations
20 Claims
-
1. A method comprising:
-
by a kernel of a device; receiving a request to perform an operation on a file; reading a flag bit from an i-node or from a catalog record, wherein the i-node or the catalog record is associated with the file; reading a file attribute when the flag bit 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;determining that the particular action has been performed by the user space 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. A device comprising:
-
a processor; and a memory, wherein the memory comprises instructions, that when executed by the processor cause a kernel of the device to; receive a request to perform an operation on a file; read a file attribute when a flag bit associated with the file indicates that special file handling should be performed; determine, based on the file attribute, that a file content needs to be downloaded before the operation can be performed; invoke, using a token, 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;receive the token back, wherein the received token indicates that the particular action has been performed by the user space file handler; and allow the operation to be performed on the modified file. - View Dependent Claims (12, 13, 14, 15)
-
-
16. 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; determining that the action has been performed by the user space file handler; and allowing the operation to be performed on the file. - View Dependent Claims (17, 18, 19, 20)
-
Specification