mariadb/cmake/os
Marko Mäkelä a6290a5bc5 MDEV-33095 innodb_flush_method=O_DIRECT creates excessive errors on Solaris
The directio(3C) function on Solaris is supported on NFS and UFS
while the majority of users should be on ZFS, which is a copy-on-write
file system that implements transparent compression and therefore
cannot support unbuffered I/O.

Let us remove the call to directio() and simply treat
innodb_flush_method=O_DIRECT in the same way as the previous
default value innodb_flush_method=fsync on Solaris. Also, let us
remove some dead code around calls to os_file_set_nocache() on
platforms where fcntl(2) is not usable with O_DIRECT.

On IBM AIX, O_DIRECT is not documented for fcntl(2), only for open(2).
2024-01-19 15:34:33 +11:00
..
AIX.cmake MDEV-33095 innodb_flush_method=O_DIRECT creates excessive errors on Solaris 2024-01-19 15:34:33 +11:00
Cygwin.cmake Update FSF Address 2019-05-11 21:29:06 +03:00
FreeBSD.cmake MDEV-27686 Moving libexecinfo out of FreeBSD / OpenBSD specific CMake code 2022-07-17 15:14:52 +02:00
GNU.cmake Add GNU/Hurd cmake configuration 2019-05-21 17:34:48 +04:00
HP-UX.cmake Update FSF Address 2019-05-11 21:29:06 +03:00
Linux.cmake Merge pull request #1221 from grooverdan/10.4-MDEV-18851-multiple-sized-large-page-support 2020-04-02 23:54:08 +04:00
OS400.cmake Update FSF Address 2019-05-11 21:29:06 +03:00
SunOS.cmake MDEV-33095 innodb_flush_method=O_DIRECT creates excessive errors on Solaris 2024-01-19 15:34:33 +11:00
Windows.cmake Merge 10.5 into 10.6 2022-02-14 09:16:41 +02:00
WindowsCache.cmake MDEV-33095 innodb_flush_method=O_DIRECT creates excessive errors on Solaris 2024-01-19 15:34:33 +11:00