Bug 359740

Summary: [ntfs] KTorrent keeps hanging, can barely be used
Product: [Applications] ktorrent Reporter: Daniil Vasin <danikvasin>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED LATER    
Severity: grave CC: shafff, wadsok
Priority: NOR    
Version First Reported In: 4.3.1   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Daniil Vasin 2016-02-24 03:26:31 UTC
As soon as I turn on ktorrent, it begins to freeze for prolonged periods of time, then unfreezes for a few seconds, then freezes again.

Reproducible: Always
Comment 1 Nick Shaforostoff 2016-02-27 21:47:50 UTC
do you use it with ntfs partition?
Comment 2 Daniil Vasin 2016-03-09 16:37:42 UTC
Yes, I do in the sense that the files downloaded are stored on an NTFS partition
Comment 3 Nick Shaforostoff 2016-03-28 22:28:52 UTC
please download torrents to non-ntfs partition and just set them to be moved to ntfs partition once download is complete. this is the only workaround i can suggest, apart from enabling big_writes mount option for ntfs partition.
Comment 4 Daniil Vasin 2016-03-29 00:08:21 UTC
Is there a permanent fix in the works?
Comment 5 Nick Shaforostoff 2016-03-29 10:06:05 UTC
The proper fix needs to be made in ntfs driver, not ktorrent. in ktorrent i plan to add ntfs detection and automatic suggestion to download to another partition
Comment 6 Daniil Vasin 2016-03-29 14:08:05 UTC
Reasonable enough, thank you for the response
Comment 7 Nick Shaforostoff 2016-04-16 23:12:41 UTC
can someone confirm that commenting 'if (!OpenFileAllowed())' line (making the next 'return 0;' being executed unconditionally) in cachefile.cpp makes ntfs download work fine finally?
Comment 8 wads 2016-12-18 09:04:58 UTC
(In reply to Nick Shaforostoff from comment #5)
> The proper fix needs to be made in ntfs driver, not ktorrent. in ktorrent i
> plan to add ntfs detection and automatic suggestion to download to another
> partition

Sorry for unearthing old ticket, but could I get some technical details why ktorrent has such problems with ntfs partitions? Other torrent clients (transmission, deluge) doesn't seem to have any problems with ntfs.