Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2007 09:03:20 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/nfsclient nfs_subs.c
Message-ID:  <20070726130319.GA24271@rot26.obsecurity.org>
In-Reply-To: <200707031831.l63IVmfk001694@repoman.freebsd.org>
References:  <200707031831.l63IVmfk001694@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 03, 2007 at 06:31:48PM +0000, John Baldwin wrote:
> jhb         2007-07-03 18:31:48 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/nfsclient        nfs_subs.c 
>   Log:
>   Fix for a race where out of order loading of NFS attrs into the
>   nfsnode could lead to attrs being stale. One example (that we
>   ran into) was a READDIR+, WRITE. The responses came back in
>   order, but the attrs from the WRITE were loaded before the
>   attrs from the READDIR+, leading to the wrong size from being
>   read on the next stat() call.
>   
>   MFC after:      1 week
>   Submitted by:   mohans
>   Approved by:    re (kensmith)

Cool, I think this is (one of?) the attr bugs I have also been seeing
for a long time.

Kris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070726130319.GA24271>