Create raw storage files with O_DSYNC
When creating preallocated large raw files opening them with O_DSYNC prevents long delays in reading because cache pages can be immediately reused without writing them on a disk first.
Showing
想要评论请 注册 或 登录