Comment 3 for bug 445592

Revision history for this message
Bryan Quigley (bryanquigley) wrote : Re: Transmission Ext4 / data loss?

Would another solution be to use Persistent pre-allocation?

From wikipedia "The ext4 filesystem allows for pre-allocation of on-disk space for a file. The current methodology for this on most file systems is to write the file full of 0s to reserve the space when the file is created. This method would no longer be required for ext4; instead, a new fallocate() system call was added to the Linux kernel for use by filesystems, including ext4 and XFS, that have this capability. The space allocated for files such as these would be guaranteed and would likely be contiguous. This has applications for media streaming and databases."

As my other understanding from the error message and the above, is that it lost data because they were stored in different places. Then ext4 filecheck cleared them all, because they weren't properly recorded in ext4s records. If all space is alloted ahead of time all data actually written to disk will always be recoverable by transmission.