cvs commit: src/sys/kern vfs_cache.c

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Aug 26 17:38:10 PDT 2005


dillon      2005/08/26 17:36:43 PDT

DragonFly src repository

  Modified files:
    sys/kern             vfs_cache.c 
  Log:
  Fix a serious bug in cache_inefficient_scan() related to its use of
  VOP_READDIR().  VOP_READDIR() does very weird things when given both a
  uio and cookies pointer.  Just give it a uio, instead.
  
  This should fix a bug with the NFS server returning I/O errors to a
  NFS client which is manipulating large directories.  The bug was preventing
  the server from being able to resolve the namecache topology for a
  disconnected directory vnode.
  
  MFC in: 1 week.
  
  Revision  Changes    Path
  1.56      +20 -36    src/sys/kern/vfs_cache.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_cache.c.diff?r1=1.55&r2=1.56&f=u





More information about the Commits mailing list