[OpenAFS-devel] Another File System Stress Utility

Frank J. Cameron cameron@ctc.com
Sat, 22 Dec 2001 11:23:54 -0500


 From http://kerneltrap.org/article.php?sid=432

Another "new" filesystem test program was posted to the
freebsd-hackers mailing list. This one, fsstress, was originally
developed by SGI <http://www.sgi.com/> for XFS 
<http://oss.sgi.com/projects/xfs/> . Andi Kleen later modified it to
work with non-XFS filesystems, too. Most recently, Matt Dillon
modified it to compile under FreeBSD. (I compiled it without
problems under Linux.)

Matt has already used this program to find/fix another bug. He
says, " This one normally wouldn't occur too often. It happens
when the filesystem syncing code is updating a VCHR
vnode/inode. The vnode can get ripped out from under the
ffs_update() code because the sync code doesn't lock or
reference the vnode while running UFS_UPDATE() on it".