On Friday, 17 October 2008 at  8:40, Cristian Greco wrote:
> On Tue, Oct 14, 2008 at 09:52:12PM +0200, Christian Ohm wrote:
> 
> > Even when activating the "pre-allocate files" option in qbittorrent, the 
> > files
> > are not allocated. According to
> > https://bugs.launchpad.net/qbittorrent/+bug/223282 this is a problem in
> > libtorrent. http://www.libtorrent.org/manual.html#add-torrent says to use
> > storage_mode_allocate to allocate files, and qbittorrent does that when
> > pre-allocate is activated. So somehow this option in libtorrent doesn't 
> > work.
> 
> according to upstream author (Arvid Norberg) this is a well known
> behavior and it won't be fixed or changed.

So the documentation is wrong, then? Quoting from the above manual:

"storage_mode_allocate
    All pieces will be allocated, zeroes will be written to the files, before
    the data is downloaded and written to the file. This might be useful for
    filesystems that don't support sparse files."

Qbittorrent uses storage_mode_allocate when the pre-allocate option is enabled,
but the files are not allocated.

Pre-allocation is useful for two reasons: To prevent fragmentation (and
currently libtorrent fragments terribly when downloading multiple torrents, to
the point that I'll consider stop using qbittorrent if this is not fixed), and
to make sure not to overuse the available disk space.

Best regards,
Christian Ohm



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to