Patent ID: 8301857

Claim:
A method for writing to a file on a file cluster-by-file cluster basis, by a plurality of application threads, comprising: the application threads writing to the file by: for each file cluster of a plurality of file clusters of the file: mapping the file cluster to a memory cluster; repeating: allocating a block of the memory cluster to one of the application threads that is writing to the file cluster, the memory cluster corresponding to the file cluster; writing to the file cluster by the one of the application threads via the one of the application threads writing to the block of the memory cluster until the block is finished, until all blocks of the memory cluster are finished; registering the memory cluster within a queue; reading the memory cluster from the queue by a file writer thread; and, writing the memory cluster to the file cluster by the file writer thread, such that different of the application threads write to different of the file clusters of the file, wherein the file cluster is mapped to the memory cluster prior to the blocks of the memory cluster being allocated and written to by the application threads.