Changeset 10564


Ignore:
Timestamp:
May 1, 2010, 3:36:26 AM (11 years ago)
Author:
charles
Message:

(1.9x libT) backport r10463 -- the default preallocation mode should be fast' rather than full' even if fallocate64() is supported by the OS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.9x/libtransmission/session.c

    r10303 r10564  
    261261    tr_bencDictAddBool( d, TR_PREFS_KEY_PEX_ENABLED,              TRUE );
    262262    tr_bencDictAddBool( d, TR_PREFS_KEY_PORT_FORWARDING,          TRUE );
    263 #ifdef HAVE_FALLOCATE64
    264     tr_bencDictAddInt ( d, TR_PREFS_KEY_PREALLOCATION,            TR_PREALLOCATE_FULL );
    265 #else
    266263    tr_bencDictAddInt ( d, TR_PREFS_KEY_PREALLOCATION,            TR_PREALLOCATE_SPARSE );
    267 #endif
    268264    tr_bencDictAddStr ( d, TR_PREFS_KEY_PROXY,                    "" );
    269265    tr_bencDictAddBool( d, TR_PREFS_KEY_PROXY_AUTH_ENABLED,       FALSE );
Note: See TracChangeset for help on using the changeset viewer.