#include <faultinject.h>
Data Fields | |
| int | open_armed |
| int | open_fail_after |
| int | open_errno |
| int | open_calls |
| int | open_last_flags |
| int | close_armed |
| int | close_fail_after |
| int | close_errno |
| int | fcntl_armed |
| int | fcntl_fail_after |
| int | fcntl_errno |
| int | fcntl_watch |
| int | getlk_calls |
| int | setlk_calls |
| int | lock_last_type |
| off_t | lock_last_start |
| off_t | lock_last_len |
| int | fchdir_armed |
| int | fchdir_fail_after |
| int | fchdir_errno |
| int fault_inject::close_armed |
| int fault_inject::close_errno |
| int fault_inject::close_fail_after |
| int fault_inject::fchdir_armed |
| int fault_inject::fchdir_errno |
| int fault_inject::fchdir_fail_after |
| int fault_inject::fcntl_armed |
| int fault_inject::fcntl_errno |
| int fault_inject::fcntl_fail_after |
| int fault_inject::fcntl_watch |
record lock-fcntl calls into the fields below
| int fault_inject::getlk_calls |
count of F_GETLK calls seen while watching
| off_t fault_inject::lock_last_len |
l_len of the most recent watched lock fcntl
| off_t fault_inject::lock_last_start |
l_start of the most recent watched lock fcntl
| int fault_inject::lock_last_type |
l_type of the most recent watched lock fcntl
| int fault_inject::open_armed |
| int fault_inject::open_calls |
count of armed open() calls seen
| int fault_inject::open_errno |
| int fault_inject::open_fail_after |
succeed this many armed opens, then fail once
| int fault_inject::open_last_flags |
flags arg of the most recent armed open()
| int fault_inject::setlk_calls |
count of F_SETLK/F_SETLKW calls seen