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
Post a Comment