commit | 324105775c1982aacbd2972b7024d8cc06474abe | [log] [tgz] |
---|---|---|
author | Chao Yu <chao@kernel.org> | Mon Aug 09 08:24:48 2021 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Tue Aug 17 11:59:05 2021 -0700 |
tree | aed4271a090d9f97d9e3f9005c375b04ea523393 | |
parent | 4a4fc043f594d39edc976a3a3dce7c40ebb86f3f [diff] |
f2fs: support fault injection for f2fs_kmem_cache_alloc() This patch supports to inject fault into f2fs_kmem_cache_alloc(). Usage: a) echo 32768 > /sys/fs/f2fs/<dev>/inject_type or b) mount -o fault_type=32768 <dev> <mountpoint> Signed-off-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>