Comments - mariadbd Options

11 years, 1 month ago Elena Stepanova

In some cases O_DIRECT value of --innodb-flush-method can be ignored by InnoDB with a warning. Currently, as of 5.5.29 version, the warning says

InnoDB: Failed to set O_DIRECT on file ./innodb_data: OPEN: Invalid argument, continuing anyway
InnoDB: O_DIRECT is known to result in 'Invalid argument' on Linux on tmpfs, see MySQL Bug#26662

It does not necessarily mean that the data is really located on tmpfs, it is just the most common reason. Another known cause is a combination of O_DIRECT value of the option and data=journal in the disk configuration.

See MDEV-4159 for more details.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.