mirror of
https://github.com/MariaDB/server.git
synced 2025-02-04 21:02:17 +01:00
42e6058629
innodb_log_file_mmap: Use a constant documentation string that refers to persistent memory also when it is not available in the build. HAVE_INNODB_MMAP: Remove, and unconditionally enable this code. log_mmap(): On 32-bit systems, ensure that the size fits in 32 bits. log_t::resize_start(), log_t::resize_abort(): Only handle memory-mapping if HAVE_PMEM is defined. The generic memory-mapped interface is only for reading the log in recovery. Writable memory mappings are only for persistent memory, that is, Linux file systems with mount -o dax. Reviewed by: Debarun Banerjee, Otto Kekäläinen
4 lines
68 B
Text
4 lines
68 B
Text
[pread]
|
|
--innodb-log-file-mmap=OFF
|
|
[mmap]
|
|
--innodb-log-file-mmap=ON
|