freebsd-skq/sys/ufs
kib 371d0216fb Busy ufs filesystem around block of code that does ".." lookup. Since
mnt_lock is before lock of any vnode on the mp, it uses LK_NOWAIT. Since
MNTK_UNMOUNT may be transient, pdp lock is dropped when vfs_busy()
failed, and operation is retried after some time. This way, ffs_vget()
is not called on the mp that may be in the process of being destroyed by
unmount.

Check for the VI_DOOMED flag on pdp after its lock is reacquired, to
better detect some situations where directory containing ".."
entry is removed during the lookup.

Reviewed by:	tegge, attilio (previous version)
Tested by:	pho
MFC after:	1 month
2008-11-22 13:11:11 +00:00
..
ffs For now on every 10 cyclinder groups flush the buffer cache to free 2008-11-13 17:40:21 +00:00
ufs Busy ufs filesystem around block of code that does ".." lookup. Since 2008-11-22 13:11:11 +00:00