A separate question about combining mmap access and file
IO in the current absence of a unified buffer cache:

If I have a readonly mmap and do fwrite to it, could I use
fsync (or msync or any other call) right after the fwrite, as a tool to guarantee that the memory mapping interface is up to date?


Also between the fwrite and that call, the possible data inconsistency would be limited to the particular bytes written right?

On 2015-11-12 15:45, Stuart Henderson wrote:

Reply via email to