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

简单预读机制和小文件读取优化 #939

Merged
merged 3 commits into from
Dec 14, 2024

Conversation

liuslient
Copy link
Contributor

添加了最基本的预读机制,在读取数据时提前分配并加载数据块;
对小文件的读写进行优化,大小小于数据块大小直接拷贝数据

@helight
Copy link
Member

helight commented Nov 22, 2024

不要提交二进制文件,可以放到.gitignore文件中就不会每次被提交了

chenamy2017
chenamy2017 previously approved these changes Nov 29, 2024
@liuslient
Copy link
Contributor Author

添加了读写性能测试的脚本,之前写的预读代码在进行dd测试时错误

@chenamy2017 chenamy2017 self-requested a review December 13, 2024 11:24
@helight helight merged commit 25a0289 into linuxkerneltravel:develop Dec 14, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants