Method and system for object allocation using fill counts
First Claim
Patent Images
1. A method for locating a root block in file system metadata, comprising:
- traversing the file system metadata to locate a leaf block, wherein the leaf block comprises a plurality of root blocks and at least one of the plurality of root blocks is unallocated;
allocating the at least of one the plurality of unallocated root blocks to obtain an allocated root block, wherein the leaf block is associated with a fill count and the fill count is less than a maximum fill count of the leaf block.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for locating a root block in file system metadata, includes traversing the file system metadata to locate a leaf block, wherein the leaf block comprises a plurality of root blocks and at least one of the plurality of root blocks is unallocated, allocating the at least of one the plurality of unallocated root blocks to obtain an allocated root block, wherein the leaf block is associated with a fill count and the fill count is less than a maximum fill count of the leaf block.
-
Citations
18 Claims
-
1. A method for locating a root block in file system metadata, comprising:
-
traversing the file system metadata to locate a leaf block, wherein the leaf block comprises a plurality of root blocks and at least one of the plurality of root blocks is unallocated;
allocating the at least of one the plurality of unallocated root blocks to obtain an allocated root block, wherein the leaf block is associated with a fill count and the fill count is less than a maximum fill count of the leaf block. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system, comprising:
-
a storage pool comprising;
file system metadata comprising a leaf block, wherein the leaf block comprises a plurality of root blocks and at least one of the plurality of root blocks is unallocated;
a file system configured to;
traverse the file system metadata to locate the leaf block, allocate the at least of one the plurality of unallocated root blocks to obtain an allocated root block, wherein the leaf block is associated with a fill count and the fill count is less than a maximum fill count of the leaf block.
-
-
11. The system of 10, wherein the file system is further configured to:
update the fill count after allocating the at least one unallocated block.
-
12. The system of 10, wherein the fill count is stored in a block pointer referencing the leaf block.
-
13. The system of 10, wherein the fill count is a non-negative integer.
-
14. The system of 10, wherein the fill count corresponds to a number of allocated root blocks in the leaf block.
-
15. The system of 10, wherein the allocated root block references a hierarchical tree corresponding to a file.
-
16. The system of 15, wherein the hierarchical tree comprises a data block and an indirect block, wherein the indirect block directly references the data block, and the root block indirectly references the indirect block.
-
17. The system of 10, wherein the file system metadata is organized in a hierarchical tree.
-
18. The system of 10, wherein less than 25 percent of the plurality of the root blocks are allocated.
Specification