> >Yes. I open the files, then do many mmap->munmap in a loop (for large
> >files--I don't map the whole file at once), then use futimes then close.
> 
> Can't you use fsync() then?

But fsync also does an immediate physical write and hence blocks the process.

But msync with MS_ASYNC seems to do the job.  So the kernel is POSIX here which 
is perfect.

Carsten

Reply via email to