IoBufferMode

Port of settings_pack::io_buffer_mode_t (for Settings.DISK_IO_WRITE_MODE / Settings.DISK_IO_READ_MODE).

Properties

Link copied to clipboard
const val DISABLE_OS_CACHE: Int = 2

No-cache mode: don't let file blocks linger in the OS cache.

Link copied to clipboard
const val ENABLE_OS_CACHE: Int = 0

OS caches reads and writes normally.

Link copied to clipboard
const val WRITE_THROUGH: Int = 3

Flush pieces to disk as they complete validation.