On Mon, Oct 13, 2014 at 12:39:54AM +1100, Bruce Evans wrote:
> > @@ -627,7 +627,7 @@ ffs_read(ap)
> > }
> >
> > if ((error == 0 || uio->uio_resid != orig_resid) &&
> > - (vp->v_mount->mnt_flag & MNT_NOATIME) == 0 &&
> > + (vp->v_mount->mnt_flag & (MNT_NOATIME | MNT_RDONLY)) == 0
On Sat, 11 Oct 2014, Konstantin Belousov wrote:
Log:
Do not set IN_ACCESS flag for read-only mounts. The IN_ACCESS
survives remount in rw, also it is set for vnodes on rootfs before
noatime can be set or clock is adjusted. All conditions result in
wrong atime for accessed vnodes.
Submitt
Author: kib
Date: Sat Oct 11 19:09:56 2014
New Revision: 272952
URL: https://svnweb.freebsd.org/changeset/base/272952
Log:
Do not set IN_ACCESS flag for read-only mounts. The IN_ACCESS
survives remount in rw, also it is set for vnodes on rootfs before
noatime can be set or clock is adjusted