METHOD, SYSTEM, AND COMPUTER PROGRAM PRODUCT FOR ENABLING FILE SYSTEM TAGGING BY APPLICATIONS
First Claim
1. A method of enabling file system tagging by an application, comprising:
- creating tag associations for the file system in a storage device, comprising;
associating at least one tag with a file object of the file system in the storage device, comprising;
allocating a file association structure in the storage device, the file allocation structure having attributes including a pointer to a file handle of the file object and a list of names of tags associated with the file object; and
for each tag in the file system, allocating a tag structure, the tag structure comprising;
a name of the tag; and
a list of file associations for the tag, the list specifying a linked list of file association objects defined by the file association structure; and
in response to receiving a system call from the application, the system call including a request for a read directory operation on the file system, performing;
retrieving the tag associations from the storage device to identify the file object;
dynamically assembling a directory entry structure that includes a hierarchical view of tags identified from the tag associations and corresponding file object; and
returning the directory entry structure to the application.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for enabling file system tagging by an application includes creating tag associations for the file system by associating a tag with a file object. The association includes allocating a file association structure (FAS) in the storage device, which FAS has attributes including a pointer to a file handle of the file object and a list of names of tags associated with the file object. Associating the tag with a file object also includes allocating a tag structure for each tag in the file system. The tag structure includes a tag name and file associations for the tag. In response to a request for a read directory operation, the method includes retrieving the tag associations to identify the file object, dynamically assembling a directory entry structure that includes a hierarchical view of tags identified from the tag associations and corresponding file object, and returning the directory entry structure to the application.
-
Citations
20 Claims
-
1. A method of enabling file system tagging by an application, comprising:
-
creating tag associations for the file system in a storage device, comprising; associating at least one tag with a file object of the file system in the storage device, comprising; allocating a file association structure in the storage device, the file allocation structure having attributes including a pointer to a file handle of the file object and a list of names of tags associated with the file object; and for each tag in the file system, allocating a tag structure, the tag structure comprising; a name of the tag; and a list of file associations for the tag, the list specifying a linked list of file association objects defined by the file association structure; and in response to receiving a system call from the application, the system call including a request for a read directory operation on the file system, performing; retrieving the tag associations from the storage device to identify the file object; dynamically assembling a directory entry structure that includes a hierarchical view of tags identified from the tag associations and corresponding file object; and returning the directory entry structure to the application. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system for enabling file system tagging by an application, comprising:
-
a virtual file system associated with an operating system, the operating system executing on a processor device; and processing logic executing on the virtual file system via the processor device, the processing logic implementing a method, comprising; creating tag associations for the file system in a storage device, comprising; associating at least one tag with a file object of the file system in the storage device, comprising; allocating a file association structure in the storage device, the file allocation structure having attributes including a pointer to a file handle of the file object and a list of names of tags associated with the file object; and for each tag in the file system, allocating a tag structure, the tag structure comprising; a name of the tag; and a list of file associations for the tag, the list specifying a linked list of file association objects defined by the file association structure; and in response to receiving a system call from the application, the system call including a request for a read directory operation on the file system, performing; retrieving the tag associations from the storage device to identify the file object; dynamically assembling a directory entry structure that includes a hierarchical view of tags identified from the tag associations and corresponding file object; and returning the directory entry structure to the application. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A computer program product for enabling file system tagging by an application, the computer program product comprising a computer-readable medium encoded with program code for causing a computer to implement a method, the method comprising:
-
creating tag associations for the file system in a storage device, comprising; associating at least one tag with a file object of the file system in the storage device, comprising; allocating a file association structure in the storage device, the file allocation structure having attributes including a pointer to a file handle of the file object and a list of names of tags associated with the file object; and for each tag in the file system, allocating a tag structure, the tag structure comprising; a name of the tag; and a list of file associations for the tag, the list specifying a linked list of file association objects defined by the file association structure; and in response to receiving a system call from the application, the system call including a request for a read directory operation on the file system, performing; retrieving the tag associations from the storage device to identify the file object; dynamically assembling a directory entry structure that includes a hierarchical view of tags identified from the tag associations and corresponding file object; and returning the directory entry structure to the application. - View Dependent Claims (18, 19, 20)
-
Specification