View Single Post
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#27
As long as there's no explicit fsync(2) call (directly, or indirectly through e.g. fflush(3)), then the operating system itself is what determines when the data will be written to disk, and the application's/library's internal caching doesn't matter much (all disk writes go through the kernel's buffer cache, and when it's being physically written is determined by configured kernel parameters as well as by amount of available RAM).
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.

Last edited by TA-t3; 2008-02-25 at 16:03.