vendredi 6 mars 2015

How to determine whether the data is written to disk or cached?


I'm learning file operation calls under Linux. The read() and write() and many other functions use cache to increase performance, and I know fsync() can transfer data from cache to disk device. However, is there any commands or system calls that can determine whether the data is cached or written to disk?



Aucun commentaire:

Enregistrer un commentaire