Re: fsync in glib/gio



Alexander Larsson wrote:
Attached is a patch that makes sure we fsync before closing in the gio
file saving code and in g_file_set_contents().

Wouldn't fdatasync be sufficient in most case ?


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