-
hi it this the intended behavior? my os is linux-64 and my FS is ext4 and transmission the latest version (3 i think). also on a filesystem like ext4 the free space reported differs between two options? where would I see the difference with allocation set to full on ext4 between a file allocation at the star and when file is almost fully downloaded? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Yes. Preallocation happens per-file just before writing the first downloaded byte into that file.
Yes.
I don't understand the question? There's not a way in Transmission's GUI. You would inspect the file itself the same way you would any other file on your OS.
On Linux + ext4 both sparse and full allocation should give the same results. On POSIX systems, both codepaths try fallocate64() first. Transmission prefers that preallocation on POSIX machines because it's fast and does the job. So unless fallocate64() fails on your system (not sure why that would happen on an ext4 system?) then sparse & full will give the same behavior. Really, 'sparse' and 'full' are basically shorthand for "fully allocate the file if you can do it quickly" and "fully allocate the file even if we're on a dumb filesystem that doesn't support preallocation. In fact, write an empty buffer to disk inside a loop if you have to." |
Beta Was this translation helpful? Give feedback.
Yes. Preallocation happens per-file just before writing the first downloaded byte into that file.
Yes.
I don't …