On Tue, Dec 08, 2015 at 01:54:02PM +0100, Carsten Kunze wrote:
> 
> when I copy a file with mmap:
> 
> - open both files
> - mmap both files
> - copy with memcpy
> - setting mtime with futimes
> - close both files
> 

Try using msync with the invalidate option, that should push the pages
out to disk.

-- 
Brett Lymn
Let go, or be dragged - Zen proverb.

Reply via email to