mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 10:31:54 +01:00
MDEV-28111 fixup: Correct the start-up message
By default, we should say "InnoDB: Buffered log writes" instead of "InnoDB: File system buffers for log disabled" if we are able to determine the physical block size on Linux.
This commit is contained in:
parent
5c11e7eead
commit
f6fcf827b3
1 changed files with 3 additions and 1 deletions
|
@ -223,7 +223,9 @@ void log_t::attach(log_file_t file, os_offset_t size)
|
|||
if (!block_size)
|
||||
set_block_size(512);
|
||||
# ifdef __linux__
|
||||
else if (srv_file_flush_method != SRV_O_DSYNC)
|
||||
else if (srv_file_flush_method != SRV_O_DSYNC &&
|
||||
srv_file_flush_method != SRV_O_DIRECT &&
|
||||
srv_file_flush_method != SRV_O_DIRECT_NO_FSYNC)
|
||||
sql_print_information("InnoDB: Buffered log writes (block size=%u bytes)",
|
||||
block_size);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue