Displaying 1 result from an estimated 1 matches for "trunk_file14".
2012 Oct 22
1
CentOS 6 NFS mmap I/O bug?
...e size back from a stat() call.
The problem specifically seems to happen after mmap and ftruncate
calls. The former envionrment for the application was CentOS 4 where
is has run for many years with no apparent issues. Here's an strace
output showing the problem:
13:10:38.270134 stat("trunk_file14", {st_mode=S_IFREG|0600,
st_size=36528128, ...}) = 0 <0.000019>
13:10:38.270204 open("trunk_file14", O_RDWR|O_SYNC) = 3 <0.000440>
13:10:38.270688 mmap(NULL, 36528128, PROT_READ|PROT_WRITE,
MAP_SHARED, 3, 0) = 0x7f57bade3000 <0.003543>
13:10:38.275585 msync(0x...