cvs commit: src/sys/nfsclient nfs_subs.c

John Baldwin jhb at FreeBSD.org
Tue Jul 3 18:31:48 UTC 2007


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)
  
  Revision  Changes    Path
  1.146     +17 -1     src/sys/nfsclient/nfs_subs.c


More information about the cvs-src mailing list