A hook filesystem and utils to inject IO chaos
Go to file
Yang Keao 1a16dde822 add auto release script
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
2020-09-10 12:06:10 +08:00
.github/workflows add auto release script 2020-09-10 12:06:10 +08:00
example auto resolve symlink 2020-09-08 13:55:26 +08:00
src resolve deadlock 2020-09-09 14:09:14 +08:00
.dockerignore add auto release script 2020-09-10 12:06:10 +08:00
.gitignore automatically mount path 2020-07-21 16:43:26 +08:00
Cargo.lock remove tracing 2020-09-06 23:10:33 +08:00
Cargo.toml remove tracing 2020-09-06 23:10:33 +08:00
Dockerfile add auto release script 2020-09-10 12:06:10 +08:00
Makefile add auto release script 2020-09-10 12:06:10 +08:00
README.md add compile arguments 2020-08-18 15:36:19 +08:00
io-inject-example.json auto resolve symlink 2020-09-08 13:55:26 +08:00
rust-toolchain add injectors 2020-08-11 17:50:43 +08:00

README.md

Notes:

  • Keep in mind that the result will be cached by system!

    If you set read error with a probability < 1, once the program reads successfully, no error will be returned until the cache misses. If you override the attributes with a probability < 1, the first lookup may decide the attributes for a long time (until the cache misses).

    But if you set probability == 1, which means the result will be the same all the time during the mount, there will be no problem.

  • Compile this binary with -Z relro-level=full, then it will load (mmap) all dependencies into memory at the beginning.