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.