diff options
author | Chao Yu <yuchao0@huawei.com> | 2018-08-08 11:36:41 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-08-13 19:48:17 +0200 |
commit | d494500a70434223bc35f862fab0679b13bea23d (patch) | |
tree | e1b31c567401d6c0486aaadf37332a26d6bf36c1 /fs/f2fs/node.c | |
parent | f2fs: fix to return success when trimming meta area (diff) | |
download | linux-d494500a70434223bc35f862fab0679b13bea23d.tar.xz linux-d494500a70434223bc35f862fab0679b13bea23d.zip |
f2fs: support fault_type mount option
Previously, once fault injection is on, by default, all kind of faults
will be injected to f2fs, if we want to trigger single or specified
combined type during the test, we need to configure sysfs entry, it will
be a little inconvenient to integrate sysfs configuring into testsuit,
such as xfstest.
So this patch introduces a new mount option 'fault_type' to assist old
option 'fault_injection', with these two mount options, we can specify
any fault rate/type at mount-time.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/node.c')
0 files changed, 0 insertions, 0 deletions