DragonFly BSD
DragonFly commits List (threaded) for 2005-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/vfs/nfs nfs_subs.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 13 Mar 2005 14:17:40 -0800 (PST)

dillon      2005/03/13 14:17:40 PST

DragonFly src repository

  Modified files:
    sys/vfs/nfs          nfs_subs.c 
  Log:
  Fix a couple of NFS client side caching snafus.  First, we have to update
  np->n_mtime if the file has not being modified locally, otherwise n_mtime
  becomes stale and both the dynamic cache timeout calculation breaks and
  stat() calls checking for the last modified time break.  This was causing
  indeterminant operation with make for obvious reasons.
  
  The Second problem was that we were not checking for an attrstamp of 0
  (indicating a timed out entry), resulting in another incorrect timeout
  calculation.
  
  Revision  Changes    Path
  1.25      +10 -3     src/sys/vfs/nfs/nfs_subs.c


http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfs_subs.c.diff?r1=1.24&r2=1.25&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]