-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add fault injection with 1-byte reads #92
Conversation
0774402
to
6d538d0
Compare
866d17f
to
785bfb5
Compare
@vinipsmaker I made a patch that add a fault injection |
785bfb5
to
33aa349
Compare
I think I can give it a try by next month. Thanks for the patch. It should help one of my projects a lot. |
Good, I will wait for your feedback. |
@vinipsmaker How to check the new fault injection with 1-byte read: $ git clone https://github.com/ligurio/unreliablefs/
$ git checkout ligurio/gh-86
$ cd unreliablesfs
$ cmake .
$ make -j
$ mkdir source target
$ ./unreliablefs -basedir=./source target/
$ cat << EOF > target/unreliablefs.conf
[errinj_1byte_read]
op_regexp = .*
path_regexp = .*
probability = 80
EOF
$ umount source |
I can give it a try this week. Will report back soon.
Thanks for the heads-on tutorial. It'll make the test quicker. |
It's not working at all. The That's the log from
Before it hits my call to |
Thanks. I'll take a look. |
Closes #86