Re: reiserFS?

Theodore Tso
2006-07-16T18:14:28Z

On Sun, Jul 16, 2006 at 06:46:37PM +0100, Dr. David Alan Gilbert wrote:
> That leads me to ask what level of testing is performed on each
> filesystem - are there filesystem torture tests that are getting
> run by someone (who?) on various filesystems (preferably on large
> TB sized ones, preferably with simulated failures and resets)?
> The discussions on Ext4 a few weeks ago made me think that the
> thing I'd value more than anything else would be a damn good
> test regime.

As far as I know ext2/3 is the only filesystem with a fsck tool that
has a regression test suite. It's always amazed me that filesystem
consistency checkers and repair tools get so little attenion by most
filesystem developers.

As far as random torture testing, Pavel has written a random test tool
that punches random errors into random blocks of a filesystem, and
that was used to uncover a couple of cases that e2fsprogs didn't
handle cleanly. Those were reported to me, and I fixed them, and the
edge cases were encorprated into the regression test suite.

IIRC it came up in discussion a few weeks ago one LKML or
linux-fsdevel (I can't remember which), and I believe either someone
from XFS or Reiser team was going to take Pavel's torture tester and
adapt it do some robustifying of their filesystem's repair
capabilities.

Finally, the good folks at the Stanford Metacompilation group did some
very interesting work to find bugs in three common Linux filesystems:

http://keeda.stanford.edu/~junfeng/papers/osdi04/osdi04.html

Regards,

- Ted