Module Name: src Committed By: perseant Date: Thu Feb 16 02:47:56 UTC 2012
Modified Files: src/sbin/newfs_lfs: make_lfs.c src/sys/ufs/lfs: lfs.h lfs_alloc.c lfs_bio.c lfs_segment.c lfs_vfsops.c lfs_vnops.c src/tests/fs/vfs: t_renamerace.c t_rmdirrace.c Log Message: Pass t_renamerace and t_rmdirrace tests. Adapt dholland@'s fix to ufs_rename to fix PR kern/43582. Address several other MP locking issues discovered during the course of investigating the same problem. Removed extraneous vn_lock() calls on the Ifile, since the Ifile writes are controlled by the segment lock. Fix PR kern/45982 by deemphasizing the estimate of how much metadata will fill the empty space on disk when the disk is nearly empty (t_renamerace crates a lot of inode blocks on a tiny empty disk). To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sbin/newfs_lfs/make_lfs.c cvs rdiff -u -r1.135 -r1.136 src/sys/ufs/lfs/lfs.h cvs rdiff -u -r1.111 -r1.112 src/sys/ufs/lfs/lfs_alloc.c cvs rdiff -u -r1.121 -r1.122 src/sys/ufs/lfs/lfs_bio.c cvs rdiff -u -r1.223 -r1.224 src/sys/ufs/lfs/lfs_segment.c cvs rdiff -u -r1.293 -r1.294 src/sys/ufs/lfs/lfs_vfsops.c cvs rdiff -u -r1.239 -r1.240 src/sys/ufs/lfs/lfs_vnops.c cvs rdiff -u -r1.24 -r1.25 src/tests/fs/vfs/t_renamerace.c cvs rdiff -u -r1.8 -r1.9 src/tests/fs/vfs/t_rmdirrace.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.