Patent ID: 9058338
Filing Date: 2015-06-16
Classification: G06F

Abstract:
1. A method for storing files, the method comprising: a processor receiving a first I/O request to store a first file in a file-system of a data storage device; the processor determining whether the size of the first file does not exceed a threshold size, wherein the size of the first file exceeding the threshold size results in storing at least a portion of the first file in a block of the file-system, wherein the block does not have any addressable sub-blocks configured in the block and wherein the block is only addressable as a whole; the processor determining whether the size of the first file does not exceed a size of unallocated space within a single block in the file system, the single block comprising a set of at least two addressable sub-blocks, each sub-block in the set of sub-blocks being of equal size; and the processor, responsive to determining that the size of the first file does not exceed the threshold size, and responsive to determining that the size of the first file does not exceed the size of unallocated space within the single block in the file-system, storing, at a first address, the first file in a first subset of the set of the sub-blocks of the single block, wherein the first address identifies the single block and a position of a sub-block in the subset.