freebsd-dev/sys/fs/tmpfs
Xin LI 7871e52bfd MFp4: Several fixes to tmpfs which makes it to survive from pho@'s
strees2 suite, to quote his letter, this change:

1. It removes the tn_lookup_dirent stuff. I think this cannot be fixed,
   because nothing protects vnode/tmpfs node between lookup is done, and
   actual operation is performed, in the case the vnode lock is dropped.
   At least, this is the case with the from vnode for rename.

   For now, we do the linear lookup in the parent node. This has its own
   drawbacks. Not mentioning speed (that could be fixed by using hash), the
   real problem is the situation where several hardlinks exist in the dvp.
   But, I think this is fixable.

2. The patch restores the VV_ROOT flag on the root vnode after it became
   reclaimed and allocated again. This fixes MPASS assertion at the start
   of the tmpfs_lookup() reported by many.

Submitted by:	kib
2007-11-18 04:52:40 +00:00
..
tmpfs_fifoops.c Space/style cleanups after last set of commits. 2007-06-28 02:39:31 +00:00
tmpfs_fifoops.h Staticify most of fifo/vn operations, they should not 2007-06-28 02:36:41 +00:00
tmpfs_subr.c MFp4: Several fixes to tmpfs which makes it to survive from pho@'s 2007-11-18 04:52:40 +00:00
tmpfs_vfsops.c MFp4: Several fixes to tmpfs which makes it to survive from pho@'s 2007-11-18 04:52:40 +00:00
tmpfs_vnops.c MFp4: Several fixes to tmpfs which makes it to survive from pho@'s 2007-11-18 04:52:40 +00:00
tmpfs_vnops.h Staticify most of fifo/vn operations, they should not 2007-06-28 02:36:41 +00:00
tmpfs.h MFp4: Several fixes to tmpfs which makes it to survive from pho@'s 2007-11-18 04:52:40 +00:00