13 Jun
2013
13 Jun
'13
14:04
On Thu, Jun 13, 2013 at 3:41 AM, Carlos E. R. <robin.listas@telefonica.net> wrote:
By the way, try not to use "fsync". It forces the kernel to write to disk even if not convenient.
The fadvise call only trashes cache that has already been written to disk. So you can call it as often as you want prior to the close, but the last thing that is done needs to be: fsync() fadvise(0,len,DONTNEED) close() Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org