Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write an adaptor for Crashmonkey for dm-flakey #123

Open
vijay03 opened this issue Nov 11, 2018 · 2 comments
Open

Write an adaptor for Crashmonkey for dm-flakey #123

vijay03 opened this issue Nov 11, 2018 · 2 comments

Comments

@vijay03
Copy link
Member

vijay03 commented Nov 11, 2018

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.

@JameerBabu
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants