I note below words in the manual of fsync:<br>       Calling  fsync()  does  not  necessarily  ensure  that  the entry in the directory containing the file has also reached disk.  For that an explicit fsync() on a file<br>
       descriptor for the directory is also needed.<br><br>I am wondering is directory sync is essential after below steps if I want to assure the file can be retrieved after system crash?<br><br>1) create file A<br>2) write file A<br>
3) fsync(file A)<br><br>--------------------------------&gt; fsync(parent directory) [Is it essential to make the inode linked to parent directory?]<br><br><br>