server: file_flush: Use fdatasync instead fsync if possible

Vitaly Lipatov lav at etersoft.ru
Sun Nov 9 10:23:56 CST 2008


from man fsync(2):
"If the modification time is not a part of the transaction concept fdatasync() 
can be used to avoid unnecessary inode disk write operations."

-- 
Vitaly Lipatov, ALT Linux Team
Russia, Saint-Petersburg, www.etersoft.ru
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-use-fdatasync-instead-fsync-if-possible.patch
Type: text/x-diff
Size: 845 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20081109/991f1158/attachment.patch 


More information about the wine-patches mailing list