Re: [Gluster-users] Invalid atime with gluster-NFS

2016-12-05 Thread Niels de Vos
On Mon, Dec 05, 2016 at 09:46:10AM -0800, Eivind Sarto wrote: > I filed a bug and attached this proposed patch last week. > I have tested it with both gluster-NFS and Ganesha and it appears to fix > the problem. Thanks, I found the bug with patch you filed: https://bugzilla.redhat.com/show_bug.c

Re: [Gluster-users] Invalid atime with gluster-NFS

2016-12-05 Thread Eivind Sarto
I filed a bug and attached this proposed patch last week. I have tested it with both gluster-NFS and Ganesha and it appears to fix the problem. On Fri, Dec 2, 2016 at 10:19 PM, Niels de Vos wrote: > On Thu, Dec 01, 2016 at 05:04:06PM -0800, Eivind Sarto wrote: > > Overwriting an existing file wi

Re: [Gluster-users] Invalid atime with gluster-NFS

2016-12-02 Thread Niels de Vos
On Thu, Dec 01, 2016 at 05:04:06PM -0800, Eivind Sarto wrote: > Overwriting an existing file with O_TRUNC will yield an incorrect atime. > Example: > > root@vsan123:~# cp /vmlinuz /nfs > root@vsan123:~# stat /nfs/vmlinuz > File: ‘/nfs/vmlinuz’ > Size: 6565968 Blocks: 12825 IO Bloc

[Gluster-users] Invalid atime with gluster-NFS

2016-12-01 Thread Eivind Sarto
Overwriting an existing file with O_TRUNC will yield an incorrect atime. Example: root@vsan123:~# cp /vmlinuz /nfs root@vsan123:~# stat /nfs/vmlinuz File: ‘/nfs/vmlinuz’ Size: 6565968 Blocks: 12825 IO Block: 1048576 regular file Device: 25h/37d Inode: 10266595591654252930 Links: