file system race condition testing

From: dan carpenter
Date: Wed Mar 31 2004 - 00:11:54 EST


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

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...


Sign-up for Ads Free at

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at