f2fs: fix to document fault injection option and sysfs file
Subsystems (2)
Chao Yu
maintainerPATCH v3 2/4 f2fs: fix to document fault injection option and sysfs file
From: Chao Yu <[email protected]>
Commit 73faec4d9935 ("f2fs: add mount option to select fault injection ratio") and Commit 087968974fcd ("f2fs: add fault injection to sysfs") forget to document mount option and sysfs file.
This patch fixes to document them.
Signed-off-by Chao Yu <[email protected]>
Signed-off-by Jaegeuk Kim <[email protected]>
---
v3: fix typo.
Documentation/ABI/testing/sysfs-fs-f2fs | 12 ++++++++++++ Documentation/filesystems/f2fs.txt | 2 ++ 2 files changed, 14 insertions(+)
Documentation/ABI/testing/sysfs-fs-f2fs +12 -0
@@ -112,3 +112,15 @@ Date: January 2016 Contact: "Shuoran Liu" <[email protected]> Description: Shows total written kbytes issued to disk. + +What: /sys/fs/f2fs/<disk>/inject_rate +Date: May 2016 +Contact: "Sheng Yong" <[email protected]> +Description: + Controls the injection rate. + +What: /sys/fs/f2fs/<disk>/inject_type +Date: May 2016 +Contact: "Sheng Yong" <[email protected]> +Description: + Controls the injection type.
Documentation/filesystems/f2fs.txt +2 -0
@@ -155,6 +155,8 @@ noinline_data Disable the inline data feature, inline data feature is enabled by default. data_flush Enable data flushing before checkpoint in order to persist data of regular and symlink. +fault_injection=%d Enable fault injection in all supported types with + specified injection rate. mode=%s Control block allocation mode which supports "adaptive" and "lfs". In "lfs" mode, there should be no random writes towards main area.
Signature · 1 line
2.13.0.90.g1eb437020