Only for some torrents, they are paused and resumed continuosly. It seems now ok by setting compact allocation.

Thanks and good work.

Bye
Thanks!markybob wrote:ok, i've committed the change to svn trunk. give rev 1310 a shot and let me know how full allocation works or doesnt work
Code: Select all
#if defined(__FreeBSD__)
// for statfs()
#include <sys/param.h>
#include <sys/mount.h>
#endif
No, I haven't tried until now. The output is strange. It displays as 'buf.f_type 5'. I am not sure where it gets from. I went ahead to skip check on the filesystem by using this patch:plisk wrote:mezz: have you tried to compile libtorrent without -DNDEBUG=1 ? It's in setup.py line 104. Then libtorrent will write buf.f_type in storage.cpp line 1035 and this is the magic number what it expects to enable sparsed files support for specific filesystem.
i've committed it to svn trunkmezz wrote:No, I haven't tried until now. The output is strange. It displays as 'buf.f_type 5'. I am not sure where it gets from. I went ahead to skip check on the filesystem by using this patch:plisk wrote:mezz: have you tried to compile libtorrent without -DNDEBUG=1 ? It's in setup.py line 104. Then libtorrent will write buf.f_type in storage.cpp line 1035 and this is the magic number what it expects to enable sparsed files support for specific filesystem.
http://people.freebsd.org/~mezz/diff/pa ... torage.cpp
It works great so far, I can see Deluge creates fake files with size. I will committing it in our ports tree, so it's your choice if you want to use this patch or not since it's hack.
While I am here, is it normal for Deluge to leave the fake files when I remove the torrent from Deluge? I selected which file I want to download, so when I deleted torrent from Deluge and the fake files are still in directory.
yes...i'll fix this.mezz wrote:While I am here, is it normal for Deluge to leave the fake files when I remove the torrent from Deluge? I selected which file I want to download, so when I deleted torrent from Deluge and the fake files are still in directory.