freebsd-skq/sys/ufs
mckusick 37dbb3e53f Need to reorganize the flushing of directory entry (pagedep) dependencies
so that they never try to lock an inode corresponding to ".." as this
can lead to deadlock. We observe that any inode with an updated link count
is always pushed into its buffer at the time of the link count change, so
we do not need to do a VOP_UPDATE, but merely find its buffer and write it.
The only time we need to get the inode itself is from the result of a
mkdir whose name will never be ".." and hence locking such an inode will
never request a lock above us in the filesystem tree. Thanks to Brian
Fundakowski Feldman for providing the test program that tickled soft updates
into hanging in "inode" sleep.

Submitted by:	Brian Fundakowski Feldman <green@FreeBSD.org>
2000-01-18 01:30:03 +00:00
..
ffs Need to reorganize the flushing of directory entry (pagedep) dependencies 2000-01-18 01:30:03 +00:00
mfs Second pass commit to introduce new ACL and Extended Attribute system 1999-12-19 06:08:07 +00:00
ufs Several performance improvements for soft updates have been added: 2000-01-10 00:24:24 +00:00