Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In the way that you have no idea whether fsync actually writes the data to disk, or whether it puts it in memory somewhere (usually a write cache).


Most modern hard drives don't actually do what most people expect an fsync does anyway. This is an interesting thread about Apple's F_FULLFSYNC ioctl that discusses the problem (this pat is by Apple FS engineer Dominic Giampaolo): http://lists.apple.com/archives/darwin-dev/2005/Feb/msg00072...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: