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

cvs commit: src/sys/kern vfs_cache.c

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 14 Mar 2006 20:04:55 -0800 (PST)

dillon      2006/03/14 20:04:55 PST

DragonFly src repository

  Modified files:
    sys/kern             vfs_cache.c 
  cache_fromdvp() uses a recursive algorithm to resolve disconnected
  directories in the namecache.  A recursion must occur until the parent
  directory is found to have a namecache record.   This is used only by
  the NFS server.
  Fix a kernel stack underflow when large directory depths are encountered
  by reverting to a much less efficient (but non recursive) algorithm.  This
  case is hit only very rarely, mainly when filesystem testing programs are
  employed.  It typically takes directories several hundred or several
  thousand deep (depending on system memory) to trigger the condition.
  Reported-by: Stefan Krueger
  Revision  Changes    Path
  1.60      +90 -6     src/sys/kern/vfs_cache.c


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