Bug#586339: aria2: Could use posix_fallocate() or fallocate() by default

2010-07-20 Thread Tatsuhiro Tsujikawa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I released aria2 1.10.0 which I believe fixes this issue. Best regards, Tatsuhiro Tsujikawa -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxFvMQACg

Bug#586339: aria2: Could use posix_fallocate() or fallocate() by default

2010-07-04 Thread Tatsuhiro Tsujikawa
Hi, I implemented this in r2241 (svn trunk). Here is the ChangeLog: When allocating disk space, for Linux system with fallocate() system call, first check file system supports fallocate. This just executes fallocate with small chunk and see it succeed or fail. If it succeeds, use fallocate() to

Bug#586339: aria2: Could use posix_fallocate() or fallocate() by default

2010-06-18 Thread Julian Andres Klode
Package: aria2 Version: 1.9.4-1 Severity: wishlist Using posix_fallocate() is much better than allocating files by writing 0s to them, at least on filesystems that support it (e.g. ext4,btrfs,xfs). On other file systems, it would block aria2 completely until it completes. It might be possible to