简体   繁体   English

提示顺序或随机访问读取的linux API的名称是什么?

[英]What is the name of the linux API that hints sequential or random access read?

There is an API call under linux that I forgot the name of. 在linux下有一个API调用,我忘记了它的名字。

You can essentially hint to the system how you'll be mostly accessing the file and it'll tune performance accordingly. 您基本上可以向系统提示您将如何主要访问该文件,并相应地调整性能。

Can anyone recall the api function? 谁能回忆起api功能?

你在寻找posix_fadvise()吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM