* file system race condition testing
@ 2003-09-02 8:33 dan carpenter
0 siblings, 0 replies; 2+ messages in thread
From: dan carpenter @ 2003-09-02 8:33 UTC (permalink / raw)
To: linux-kernel; +Cc: shaggy
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* file system race condition testing
@ 2004-03-31 4:50 dan carpenter
0 siblings, 0 replies; 2+ messages in thread
From: dan carpenter @ 2004-03-31 4:50 UTC (permalink / raw)
To: linux-kernel; +Cc: ltp-list
Hi,
I wrote this script a while back. It creates 20 files, 0 through 19,
and then shuffles them around, deletes and recreates them as fast as
possible.
It's a good way to test for race conditions. I always run with
preempt turned on so that makes my system more sensitive to race
conditions. Neither JFS or Reiserfs survived a whole night of testing
on my system. It's a pretty grueling test...
http://67.113.20.209/racer.tar.gz
regards,
dan
--
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-03-31 5:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-02 8:33 file system race condition testing dan carpenter
2004-03-31 4:50 dan carpenter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).