lkml.org 
[lkml]   [2003]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectfile system race condition testing
Date
Racer is a bunch of shell scripts that I wrote to try find race conditions in 
JFS code. I have expanded them to be a general purpose race condition
tester. The scripts also found a couple bugs XFS and Reiserfs in 2.6.0-test1
but those have been fixed in 2.6.0-test4.

How it works is that the scripts randomly creates files 0 - 20, renames them,
deletes them, and links to them etc. If the filesystem survives for a couple
hours of beating that's considerred a pass.

The scripts are at:
http://kbugs.org/racer.tar.gz

Just use `./racer.sh` to run the scripts. Obviously, you won't want to run
the script on a production system.

When I wrote the scripts I tried to think about all the different types of
operations that you can do on a file but I probably missed a lot of them.
Probably someone more familiar with filesystem code could provide useful
feedback.

thanks,
Dan Carpenter


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:1.085 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site