Besides the warning message, this might result in reduced durability if innodb_flush_method=ALL_O_DIRECT, similar to bug 801989.
Parallel doublewrite O_DIRECT setting is unconditional and not dependent on innodb_flush_method. The fix would be:
- only for the doublewrite buffer, downgrade the message to Note severity;
- add check for os_file_set_nocache failure in parallel doublewrite create, save it in a flag, check it before flushing in buf_dblwr_flush_buffered_writes
- fix the incorrect comment added by bug 801989 fix in os_file_create_func re. fsync on parallel doublewrite (as it uses the simple os0file API)
Besides the warning message, this might result in reduced durability if innodb_ flush_method= ALL_O_DIRECT, similar to bug 801989.
Parallel doublewrite O_DIRECT setting is unconditional and not dependent on innodb_ flush_method. The fix would be: flush_buffered_ writes
- only for the doublewrite buffer, downgrade the message to Note severity;
- add check for os_file_set_nocache failure in parallel doublewrite create, save it in a flag, check it before flushing in buf_dblwr_
- fix the incorrect comment added by bug 801989 fix in os_file_create_func re. fsync on parallel doublewrite (as it uses the simple os0file API)