crashmonkey icon indicating copy to clipboard operation
crashmonkey copied to clipboard

Write an adaptor for Crashmonkey for dm-flakey

Open vijay03 opened this issue 7 years ago • 2 comments

Currently, the user-space component of CrashMonkey generates tests that run on CrashMonkey's custom kernel module. We would like to generate tests that use dm-flakey (https://www.kernel.org/doc/Documentation/device-mapper/dm-flakey.txt) since dm-flakey is already in the Linux kernel. The advantage of doing so is that the tests CrashMonkey produces can directly be added to xfstests and run by Linux kernel developers.

For example, Jayashree is now porting CrashMonkey tests to dm-flakey tests manually and adding them to xfstests: https://www.spinics.net/lists/fstests/msg10767.html. An adaptor for dm-flakey would make this automatic.

vijay03 avatar Nov 11 '18 01:11 vijay03

Hello sir, after reading about dm-flakey and crash monkey, I got an idea how to develop an adapter. I would like to start writing a file with the commands (Ex : corrupt_bio_byte 32 r 1 0 ) in a file so that the results can be stored in xfstests. Please let me know your idea sir.

JameerBabu avatar Aug 19 '19 19:08 JameerBabu

May be the one similar to "sudo dmsetup create test --table '0 123 flakey 1 0 /dev/loop4'' may work.

JameerBabu avatar Aug 20 '19 04:08 JameerBabu