Subject: CVS commit: [vmlocking] src/sys/fs/tmpfs
To: None <source-changes@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 08/21/2007 20:01:31
Module Name:	src
Committed By:	ad
Date:		Tue Aug 21 20:01:31 UTC 2007

Modified Files:
	src/sys/fs/tmpfs [vmlocking]: tmpfs.h tmpfs_pool.c tmpfs_subr.c
	    tmpfs_vfsops.c

Log Message:
- Add locking around tmpfs shared data structures and mark it MP safe.
  It's enough to last for about 45m of fsx+postmark, but it doesn't
  survive SGI fsstress yet.
- Close a race where multiple vnodes could maybe have been allocated
  for a tmpnode with linkcount > 1.


To generate a diff of this commit:
cvs rdiff -r1.26 -r1.26.4.1 src/sys/fs/tmpfs/tmpfs.h
cvs rdiff -r1.6.8.1 -r1.6.8.2 src/sys/fs/tmpfs/tmpfs_pool.c
cvs rdiff -r1.34.4.3 -r1.34.4.4 src/sys/fs/tmpfs/tmpfs_subr.c
cvs rdiff -r1.20.4.4 -r1.20.4.5 src/sys/fs/tmpfs/tmpfs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.