Subject: Re: kern/25279: NFS read doesn't update atime
To: None <bouyer@antioche.lip6.fr>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 06/29/2005 09:43:18
> > > @@ -554,6 +557,9 @@
> > > struct vm_page *pg;
> > > off_t off;
> > >
> > > +
> > > + ip->i_flag |= IN_UPDATE | IN_CHANGE;
> > > +
> > > if (!DOINGSOFTDEP(vp) || (ap->a_flags & PGO_CLEANIT) == 0) {
> > > return genfs_putpages(v);
> > > }
> >
> > it seems like an overkill.
> > i think that GOP_WRITE is a better place.
>
> You mean VOP_WRITE ?
no, i meant GOP_WRITE, which starts i/o.
ffs currently uses genfs_gop_write for it.
YAMAMOTO Takashi