| CPC G06F 16/128 (2019.01) [G06F 16/113 (2019.01); G06F 16/9027 (2019.01); G06F 16/907 (2019.01)] | 19 Claims |

|
1. A method, comprising:
determining, by a storage system receiving a first content file from a storage device, that a storage size associated with the first content file is less than a threshold size, wherein metadata of the first content file is represented by a first file metadata structure;
in response to the determination that the storage size associated with the first content file is less than the threshold size updating, by the storage system, a combined metadata structure at least by:
determining, by the storage system and from a combined metadata structure reservation node of a tree data structure, an offset range associated with the combined metadata structure;
attempting, by the storage system, to successfully obtain a lock for the combined metadata structure;
in response to successfully obtaining the lock for the combined metadata structure, reserving, by the storage system, the offset range associated with the combined metadata structure; and
combining in the combined metadata structure, the metadata represented by the first file metadata structure with metadata of a second content file, the metadata of the second content file represented by a second file metadata structure, wherein a storage size associated with the second content file is less than the threshold size; and
updating, by the storage system, the tree data structure at least by updating a first reference that references a first root node of the first file metadata structure to reference a first portion of the combined metadata structure corresponding to the first content file and updating a second reference that references a second root node of the second file metadata structure to reference a second portion of the combined metadata structure corresponding to the second content file.
|