Bug 127470 - Program make no use of sparse files, it allocates eg. 200M bytes for eg. 64kB piece of downloaded file.
Summary: Program make no use of sparse files, it allocates eg. 200M bytes for eg. 64kB...
Status: RESOLVED FIXED
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Slackware Linux
: NOR wishlist
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-16 21:45 UTC by Michał Gawron
Modified: 2022-06-12 07:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Gawron 2006-05-16 21:45:42 UTC
Version:           1.2 (using KDE KDE 3.5.2)
Installed from:    Slackware Packages
OS:                Linux

It would be nice if KTorrent could use sparse-files for downloading (like Azureus for eg). When downloading multiple files and there are some do-not-download files, KTorrent allocates space for whole file (and it may be dnd file).
Comment 1 Joris Guisson 2006-06-10 13:05:30 UTC
SVN commit 549923 by guisson:

Deselected files are no longer kept around in the dnd dir. We only keep a small file which holds the chunks which lie in other files.

BUG: 127470
BUG: 123448



 M  +1 -0      apps/ktorrent/ktorrentview.cpp  
 M  +2 -1      ktorrent.kdevelop  
 M  +2 -1      libktorrent/datachecker/datachecker.h  
 M  +126 -51   libktorrent/datachecker/multidatachecker.cpp  
 M  +8 -2      libktorrent/datachecker/multidatachecker.h  
 M  +1 -1      libktorrent/datachecker/singledatachecker.cpp  
 M  +1 -1      libktorrent/datachecker/singledatachecker.h  
 M  +19 -19    libktorrent/torrent/Makefile.am  
 M  +1 -18     libktorrent/torrent/cachefile.cpp  
 M  +20 -3     libktorrent/torrent/chunkmanager.cpp  
 M  +4 -1      libktorrent/torrent/chunkmanager.h  
 A             libktorrent/torrent/dndfile.cpp   [License: GPL (v2+) (wrong address)]
 A             libktorrent/torrent/dndfile.h   [License: GPL (v2+) (wrong address)]
 M  +2 -2      libktorrent/torrent/globals.cpp  
 M  +287 -35   libktorrent/torrent/multifilecache.cpp  
 M  +4 -0      libktorrent/torrent/multifilecache.h  
 M  +1 -1      libktorrent/torrent/torrentcontrol.cpp  
 M  +11 -0     libktorrent/torrent/torrentfile.cpp  
 M  +7 -0      libktorrent/torrent/torrentfile.h  
 M  +47 -0     libktorrent/util/fileops.cpp  
 M  +18 -0     libktorrent/util/fileops.h  
 M  +4 -4      libktorrent/util/log.cpp  
 M  +4 -7      plugins/partfileimport/importdialog.cpp