freebsd-src/sys/ufs
David Schultz 188f6433f6 When the softupdates worklist gets too long, threads that attempt to
add more work are forced to process two worklist items first.
However, processing an item may generate additional work, causing the
unlucky thread to recursively process the worklist.  Add a per-thread
flag to detect this situation and avoid the recursion.  This should
fix the stack overflows that could occur while removing large
directory trees.

Tested by:	kris
Reviewed by:	mckusick
2005-03-25 17:30:31 +00:00
..
ffs When the softupdates worklist gets too long, threads that attempt to 2005-03-25 17:30:31 +00:00
ufs - Call VFS_ROOT() with LK_EXCLUSIVE. 2005-03-24 07:33:45 +00:00