We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
添加SYS_SYNC系统调用,把所有磁盘缓存落盘。
由于目前所有写操作都是直接落盘,然后旁路cache到block cache的,因此这个任务目前感觉只要调用所有磁盘的sync方法就行。
高阶玩法:添加一个内核线程用来刷磁盘缓存。(不过这个改动量就比较大了估计)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
添加SYS_SYNC系统调用,把所有磁盘缓存落盘。
由于目前所有写操作都是直接落盘,然后旁路cache到block cache的,因此这个任务目前感觉只要调用所有磁盘的sync方法就行。
高阶玩法:添加一个内核线程用来刷磁盘缓存。(不过这个改动量就比较大了估计)
The text was updated successfully, but these errors were encountered: