All of lore.kernel.org
 help / color / mirror / Atom feed
From: dan carpenter <error27@email.com>
To: linux-kernel@vger.kernel.org
Cc: shaggy@austin.ibm.com
Subject: file system race condition testing
Date: Tue, 2 Sep 2003 01:33:31 -0700	[thread overview]
Message-ID: <200309020133.31923.error27@email.com> (raw)

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



             reply	other threads:[~2003-09-02  8:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-02  8:33 dan carpenter [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-03-31  4:50 file system race condition testing dan carpenter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200309020133.31923.error27@email.com \
    --to=error27@email.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shaggy@austin.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.