Extended attribute storage
First Claim
Patent Images
1. A system comprising:
- a processor;
a file system coupled to the processor to receive a request for storage of an extended attribute (EA) of a file system object; and
a non-transitory computer readable medium coupled to the processor and storing instructions that, when executed, cause the processor to;
determine a storage location for the EA from a plurality of storage locations, based on one or more characteristics of the EA and based on at least one of an EA storage map that indicates the storage location based on the characteristics of the EA and a size criteria that is based on a size of the EA and a predefined size of the inode, wherein the plurality of storage locations include an inode, a first storage file accessible by a first B+ tree, and a second storage file accessible by a second B+ tree;
store the EA in the inode, based on the determined storage location;
de-duplicate and store the EA in the first storage file using the first B+ tree, based on the determined storage location; and
store the EA in the second storage file using the second B+ tree, based on the determined storage location.
2 Assignments
0 Petitions
Accused Products
Abstract
In one example, a request for storage of an extended attribute (EA) of a file system object is received. A storage location for the EA is determined from a plurality of storage locations, based on one or more characteristics of the EA, the plurality of storage locations including an inode, a first storage file accessible by a first B+ tree, and a second storage file accessible by a second B+ tree. The EA is accordingly stored in the determined storage location.
13 Citations
16 Claims
-
1. A system comprising:
-
a processor; a file system coupled to the processor to receive a request for storage of an extended attribute (EA) of a file system object; and a non-transitory computer readable medium coupled to the processor and storing instructions that, when executed, cause the processor to; determine a storage location for the EA from a plurality of storage locations, based on one or more characteristics of the EA and based on at least one of an EA storage map that indicates the storage location based on the characteristics of the EA and a size criteria that is based on a size of the EA and a predefined size of the inode, wherein the plurality of storage locations include an inode, a first storage file accessible by a first B+ tree, and a second storage file accessible by a second B+ tree; store the EA in the inode, based on the determined storage location; de-duplicate and store the EA in the first storage file using the first B+ tree, based on the determined storage location; and store the EA in the second storage file using the second B+ tree, based on the determined storage location. - View Dependent Claims (2, 3, 4, 5, 14, 15, 16)
-
-
6. A method of storing an extended attribute (EA) corresponding to a file system object managed by a file system, the method comprising:
-
determining if at least one of a plurality of characteristics of the extended attribute is indicative of storage of the extended attribute using a first B+ tree that de-duplicates and stores the extended attribute, and storing the extended attribute using the first B+ tree based on the determination; determining if at least one of the plurality of characteristics of the extended attribute is indicative of storage of the extended attribute in an inode, and storing the extended attribute in the inode of the file system object based on the determination; and storing the extended attribute using a second B+ tree if at least one of the plurality of characteristics of the extended attribute does not provide an indication for storage using the first B+ tree or in the inode of the file system object. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A non-transitory computer-readable medium comprising instructions for storing an extended attribute (EA) of a file system object managed by a file system, the instructions being executable by a processing resource to:
-
receive a request for storing the EA; determine if a characteristic of the EA indicates one of a de-duplicated storage in a first storage file and storage in an inode, wherein the characteristic of the EA includes a name of the EA and a user defined characteristic, and wherein the first storage file is accessible by a first B+ tree; store the EA in one of the first storage file with de-duplication and the inode based on the determination; and store the EA in one of a second storage file and the inode based on a size criteria, if the characteristic of the EA does not indicate one of the de-duplicated storage in the first storage file and the storage in the inode, wherein the second storage file is accessible by a second B+ tree. - View Dependent Claims (12, 13)
-
Specification