fix coalesce reads and writes setting

This commit is contained in:
Arvid Norberg 2009-05-25 07:46:31 +00:00
parent e7967a9c7c
commit bb47b2924c
2 changed files with 4 additions and 0 deletions

View File

@ -129,6 +129,8 @@ namespace libtorrent
, use_read_cache(true)
, disk_io_write_mode(0)
, disk_io_read_mode(0)
, coalesce_reads(false)
, coalesce_writes(false)
, outgoing_ports(0,0)
, peer_tos(0)
, active_downloads(8)

View File

@ -644,6 +644,8 @@ namespace aux {
|| m_settings.disk_cache_algorithm != s.disk_cache_algorithm
|| m_settings.read_cache_line_size != s.read_cache_line_size
|| m_settings.write_cache_line_size != s.write_cache_line_size
|| m_settings.coalesce_writes != s.coalesce_writes
|| m_settings.coalesce_reads != s.coalesce_reads
#ifndef TORRENT_DISABLE_MLOCK
|| m_settings.lock_disk_cache != s.lock_disk_cache
#endif