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

cvs commit: src/sys/kern src/sys/sys src/sys/vfs/nfs

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 18 Nov 2004 12:04:28 -0800 (PST)

dillon      2004/11/18 12:04:28 PST

DragonFly src repository

  Modified files:
    sys/kern             vfs_cache.c vfs_default.c vfs_nlookup.c 
    sys/sys              namecache.h 
    sys/vfs/nfs          nfs_nqlease.c nfs_socket.c 
  Cleanup some dangling issues with cache_inval().  A lot of hard work went
  into guarenteeing that the namecache topology would remain connected, but
  there were two cases (basically rmdir and rename-over-empty-target-dir)
  which disconnected a portion of the hierarchy.
  This fixes the remaining cases by having cache_inval() simply mark the
  namecache entry as destroyed without actually disconnecting it from the
  topology.  The flag tells cache_nlookup() and ".." handlers that a node has
  been destroyed and is no longer connected to any parent directory.
  The new cache_inval() also now has the ability to mark an entire subhierarchy
  as being unresolved, which can be a useful feature to have.
  In-discussion-with: Richard Nyberg <rnyberg@xxxxxxxx>
  Revision  Changes    Path
  1.43      +75 -46    src/sys/kern/vfs_cache.c
  1.23      +1 -1      src/sys/kern/vfs_default.c
  1.8       +6 -0      src/sys/kern/vfs_nlookup.c
  1.48      +1 -1      src/sys/kern/vfs_subr.c
  1.16      +4 -3      src/sys/sys/namecache.h
  1.21      +1 -1      src/sys/vfs/nfs/nfs_nqlease.c
  1.22      +1 -1      src/sys/vfs/nfs/nfs_socket.c


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