Skip to content
New issue

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

feat(block): 添加SYS_SYNC系统调用 #987

Open
fslongjin opened this issue Oct 16, 2024 · 0 comments
Open

feat(block): 添加SYS_SYNC系统调用 #987

fslongjin opened this issue Oct 16, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@fslongjin
Copy link
Member

添加SYS_SYNC系统调用,把所有磁盘缓存落盘。

由于目前所有写操作都是直接落盘,然后旁路cache到block cache的,因此这个任务目前感觉只要调用所有磁盘的sync方法就行。

高阶玩法:添加一个内核线程用来刷磁盘缓存。(不过这个改动量就比较大了估计)

@fslongjin fslongjin added the enhancement New feature or request label Oct 16, 2024
@dragonosbot dragonosbot added the needs-triage 这个问题可能需要分类处理。如果已经完成分类,请移除它。 label Oct 16, 2024
@fslongjin fslongjin removed the needs-triage 这个问题可能需要分类处理。如果已经完成分类,请移除它。 label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants