Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add posix_fadvise(FADV_DONTNEED) to flush buffered pages
Summary: When InnoDB opens a .ibd or log file in O_DIRECT mode, request the os to flush the buffer cache. Otherwise, direct IO is serialized when buffered pages for the file existing within the filesystem cache. Reviewed By: alxyang Differential Revision: D5100237 fbshipit-source-id: bbbd3db
- Loading branch information