Re: fsync in glib/gio



> fsync() performance will always be crappy on notebooks. If disk is
> spun down, fsync() will take 5 seconds or more...

This is why it needs to be opt-in. An environment variable for those concerned, to enable fsync().

That also helps answer the question of how much, or how little. Let the environment variable be a "fsynchronisation level".


Fredderic
   Medical Transcription Training
Click here to find Medical Transcription Training programs.
Click Here For More Information
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]