Changeset 8779


Ignore:
Timestamp:
Jul 3, 2009, 10:22:01 PM (13 years ago)
Author:
charles
Message:

(trunk libT) make TR_PREALLOCATE_SPARSE the default value -- too many people are asking why Transmisson "freezes" when it starts downloading a torrent. In the future it would be better to frame the choice between FAST and FULL instead of SPARSE and FULL. this should be revisited later when glibc's fallocate() is widely available and ext4 is more common.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/session.c

    r8772 r8779  
    365365    tr_bencDictAddBool( d, TR_PREFS_KEY_PEX_ENABLED,              TRUE );
    366366    tr_bencDictAddBool( d, TR_PREFS_KEY_PORT_FORWARDING,          TRUE );
    367     tr_bencDictAddInt ( d, TR_PREFS_KEY_PREALLOCATION,            TR_PREALLOCATE_FULL );
    368     /* tr_bencDictAddInt ( d, TR_PREFS_KEY_PREALLOCATION,            TR_PREALLOCATE_SPARSE ); */
     367    tr_bencDictAddInt ( d, TR_PREFS_KEY_PREALLOCATION,            TR_PREALLOCATE_SPARSE );
    369368    tr_bencDictAddStr ( d, TR_PREFS_KEY_PROXY,                    "" );
    370369    tr_bencDictAddBool( d, TR_PREFS_KEY_PROXY_AUTH_ENABLED,       FALSE );
Note: See TracChangeset for help on using the changeset viewer.