buffer - Guarantee disk cache was flushed with fsync -


i understand fsync system call moves dirty data kernel buffer cache (page cache) hdd. guarantee hard disk moved said data internal cache platter?

silly me, read documentation once again , states (redacted):

fsync() transfers ... modified in-core data of ... file referred file descriptor fd disk device ... changed information can retrieved after system crashed ... this includes writing through or flushing disk cache if present.


Comments

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -