On 07/29/2012 02:12 AM, Daniel Shahaf wrote: > So if the disk hardware fails after close() returns but before the OS > caches are flushed...
It is not part of close(2)'s job description to protect against this scenario. If you want to protect against this scenario, use sync(2). Shachar -- Shachar Shemesh Lingnu Open Source Consulting Ltd. http://www.lingnu.com
_______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il