cvs commit: src/sys/kern vfs_subr.c

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jul 30 18:19:25 PDT 2007


dillon      2007/07/30 18:14:50 PDT

DragonFly src repository

  Modified files:
    sys/kern             vfs_subr.c 
  Log:
  vrecycle() is typically called from a VFS's inactive function, which
  in turn is called when the sysref reference count transitions from
  1->0xc0000000.  Fix a test that was causing the vnode to not be immediately
  recycled.
  
  msdosfs depended on the recyclement behavior due to rename-over issues -
  msdosfs is not allowed to reuse an 'inode' (which is basically the position
  of a directory entry in a directory) until the underlying file is entirely
  reclaimed.
  
  This also effected ufs somewhat by preventing inodes from being reused as
  quickly as they could be, but ufs allocates inodes dynamically and masked
  the problem.
  
  Reported-by: walt <wa1ter at myrealbox.com>
  
  Revision  Changes    Path
  1.106     +1 -1      src/sys/kern/vfs_subr.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_subr.c.diff?r1=1.105&r2=1.106&f=u





More information about the Commits mailing list