LWN.net Logo

Async I/O

Async I/O

Posted Apr 8, 2009 4:51 UTC (Wed) by butlerm (subscriber, #13312)
In reply to: Async I/O by jamesh
Parent article: Linux Storage and Filesystem workshop, day 1

I am sorry, but that appears to be completely wrong. The base POSIX
specification allows a null implementation of fsync. If one is not
concerned about a system crash or unclean shutdown, there is no need to
call fsync, aio_fsync, fbarrier or any other comparable function.


(Log in to post comments)

Async I/O

Posted Apr 8, 2009 4:56 UTC (Wed) by bojan (subscriber, #14302) [Link]

This is also true, of course. If the docs say you need to restore after a crash, then open(), write(), close(), rename() is just fine.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds