Subject: Re: kern/25279: NFS read doesn't update atime
To: Chuck Silvers <chuq@chuq.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-kern
Date: 06/29/2005 20:13:43
On Wed, Jun 29, 2005 at 09:32:06AM -0700, Chuck Silvers wrote:
> > It is if the "correct" fix can't be pulled up to branches.
> 
> after some thought I realized that the change you were proposing yesterday
> had much worse problems.  every vnode that left the vnode cache or had pages
> (clean or dirty) invalidated would have its mtime updated.  I tried it out
> just to verify this, and the mtimes on /sbin/init, /lib/libc.so.*, etc on
> my test machine were updated to the time I last rebooted the machine while
> running a test kernel with that change.  so that particular change had
> problems that were even worse than the issue it was attempting to fix.

This mean VOP_PUTPAGES is called for unmodified pages too ?

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--