(mmap, munmap) X (msync, NFS)

Andre Felipe Machado andremachado at techforce.com.br
Fri Mar 22 08:52:50 EDT 2013


Hello,
It seems that cyrus 2.4.16 packaged for Debian Wheezy does not use msync for
mmap'ed files, but only munmap.

This is a potential source of trouble with NFS.

Also, browsing git repo, appears that git 2.4 branch is using msync now.

Is it correct?

http://en.wikipedia.org/wiki/Mmap
http://nfs.sourceforge.net/ Question D8 and D10

other links
http://stackoverflow.com/questions/14626188/mmap-local-v-s-nfs-file-what-happens-when-the-underlying-file-is-replaced-on-di
http://git.cyrusimap.org/cyrus-imapd/diff/?id=8220d24e208f5e03ff3dda28e938b66929750f14
http://git.cyrusimap.org/cyrus-imapd/tree/cunit/buf.testc?id=8220d24e208f5e03ff3dda28e938b66929750f14&h=cyrus-imapd-2.4
https://bugzilla.redhat.com/show_bug.cgi?id=151284
https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=152548
http://lists.freebsd.org/pipermail/freebsd-sparc64/2003-May/000146.html old...
http://fixunix.com/unix/84153-posix-i-o-nfs-noac-option.html



Regards.
Andre Felipe Machado
http://www.techforce.com.br


More information about the Info-cyrus mailing list