summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/f2fs.h
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2016-04-29 15:34:32 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2016-05-07 10:32:22 -0700
commit73faec4d99358b79815866dd660ae2f9f6f9110a (patch)
tree3127aca2024ac6e03fe8d2f99f27bf36a2996bd9 /fs/f2fs/f2fs.h
parent300e129c15f0ed2f94482900a4cb65b28eb09d94 (diff)
downloadblackbird-op-linux-73faec4d99358b79815866dd660ae2f9f6f9110a.tar.gz
blackbird-op-linux-73faec4d99358b79815866dd660ae2f9f6f9110a.zip
f2fs: add mount option to select fault injection ratio
This patch adds a mount option to select fault ratio. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r--fs/f2fs/f2fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index 879e4d77a1bc..0cf2a26388e5 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -56,6 +56,7 @@
#define F2FS_MOUNT_EXTENT_CACHE 0x00002000
#define F2FS_MOUNT_FORCE_FG_GC 0x00004000
#define F2FS_MOUNT_DATA_FLUSH 0x00008000
+#define F2FS_MOUNT_FAULT_INJECTION 0x00010000
#define clear_opt(sbi, option) (sbi->mount_opt.opt &= ~F2FS_MOUNT_##option)
#define set_opt(sbi, option) (sbi->mount_opt.opt |= F2FS_MOUNT_##option)
OpenPOWER on IntegriCloud