LWN.net Logo

Atomicity vs durability

Atomicity vs durability

Posted Mar 20, 2009 11:24 UTC (Fri) by anton (guest, #25547)
In reply to: Atomicity vs durability by bojan
Parent article: Ts'o: Delayed allocation and the zero-length file problem

Similarly, any file system that on fsync() locks up for several seconds is not a very good one ;-)
If the fsync() has to write out 500MB, I certainly would expect it to take several seconds and the fsync call to block for several seconds. fsync() is just an inherently slow operation. And if an application works around the lack of robustness of a file system by calling fsync() frequently, the application will be slow (even on robust file systems).


(Log in to post comments)

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