cvs commit: src/sys/kern uipc_usrreq.c vfs_cache.c vfs_nlookup.c vfs_syscalls.c vfs_vnops.c vfs_vopops.c src/sys/sys namecache.h nlookup.h

Matthew Dillon dillon at crater.dragonflybsd.org
Fri May 9 10:53:34 PDT 2008


dillon      2008/05/09 10:52:18 PDT

DragonFly src repository

  Modified files:
    sys/kern             uipc_usrreq.c vfs_cache.c vfs_nlookup.c 
                         vfs_syscalls.c vfs_vnops.c vfs_vopops.c 
    sys/sys              namecache.h nlookup.h 
  Log:
  Fix a HAMMER assertion which turned out to be a bug in VOP_N*().  Sometimes
  the dvp passed to these functions can be reclaimed.  The locked leaf
  namecache node is not sufficient to prevent its parent directory from
  being reclaimed under heavy loads.
  
  Instead of trying to play cute tricks, actually do a formal reference of
  the dvp.  We don't have to lock it, though.
  
  Revision  Changes    Path
  1.39      +3 -6      src/sys/kern/uipc_usrreq.c
  1.90      +24 -33    src/sys/kern/vfs_cache.c
  1.24      +37 -4     src/sys/kern/vfs_nlookup.c
  1.126     +27 -61    src/sys/kern/vfs_syscalls.c
  1.57      +2 -5      src/sys/kern/vfs_vnops.c
  1.38      +23 -4     src/sys/kern/vfs_vopops.c
  1.31      +0 -2      src/sys/sys/namecache.h
  1.6       +2 -0      src/sys/sys/nlookup.h


http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_usrreq.c.diff?r1=1.38&r2=1.39&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_cache.c.diff?r1=1.89&r2=1.90&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_nlookup.c.diff?r1=1.23&r2=1.24&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_syscalls.c.diff?r1=1.125&r2=1.126&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_vnops.c.diff?r1=1.56&r2=1.57&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_vopops.c.diff?r1=1.37&r2=1.38&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/namecache.h.diff?r1=1.30&r2=1.31&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/nlookup.h.diff?r1=1.5&r2=1.6&f=u





More information about the Commits mailing list