This patch allows user to switch disk IO type between memory mapped files based type (default in libtorrent 2, and seems causing memory issues) and POSIX-compliant type which is more conservative on memory usage.
Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com>
Co-authored-by: Vladimir Golovnev (Glassez) <glassez@yandex.ru>
PR #16895.
addRow(DISK_IO_TYPE,tr("Disk IO type (requires restart)")+u''+makeLink(u"https://www.libtorrent.org/single-page-ref.html#default-disk-io-constructor",u"(?)")
<labelfor="enableOSCache">QBT_TR(Enable OS cache:)QBT_TR[CONTEXT=OptionsDialog] <ahref="https://www.libtorrent.org/reference-Settings.html#disk_io_write_mode"target="_blank">(?)</a></label>
<labelfor="enableOSCache">QBT_TR(Enable OS cache:)QBT_TR[CONTEXT=OptionsDialog] <ahref="https://www.libtorrent.org/reference-Settings.html#disk_io_write_mode"target="_blank">(?)</a></label>