diff --git a/include/libtorrent/session_settings.hpp b/include/libtorrent/session_settings.hpp index 2038c0d85..eb0ab8225 100644 --- a/include/libtorrent/session_settings.hpp +++ b/include/libtorrent/session_settings.hpp @@ -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) diff --git a/src/session_impl.cpp b/src/session_impl.cpp index cac66a7cb..45c2f3079 100644 --- a/src/session_impl.cpp +++ b/src/session_impl.cpp @@ -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