Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1663186
| From | Chao Yu <yuchao0@huawei.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 2/4] f2fs: fix to document fault injection option and sysfs file |
| Date | 2017-06-12 03:50 +0200 |
| Message-ID | <tRmEp-45C-11@gated-at.bofh.it> (permalink) |
| References | <tRmEp-45C-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 <yuchao0@huawei.com>
---
Documentation/ABI/testing/sysfs-fs-f2fs | 12 ++++++++++++
Documentation/filesystems/f2fs.txt | 2 ++
2 files changed, 14 insertions(+)
diff --git a/Documentation/ABI/testing/sysfs-fs-f2fs b/Documentation/ABI/testing/sysfs-fs-f2fs
index a809f6005f14..ae59451865a6 100644
--- a/Documentation/ABI/testing/sysfs-fs-f2fs
+++ b/Documentation/ABI/testing/sysfs-fs-f2fs
@@ -112,3 +112,15 @@ Date: January 2016
Contact: "Shuoran Liu" <liushuoran@huawei.com>
Description:
Shows total written kbytes issued to disk.
+
+What: /sys/fs/f2fs/<disk>/injection_rate
+Date: May 2016
+Contact: "Sheng Yong" <shengyong1@huawei.com>
+Description:
+ Contrils the injection rate.
+
+What: /sys/fs/f2fs/<disk>/injection_type
+Date: May 2016
+Contact: "Sheng Yong" <shengyong1@huawei.com>
+Description:
+ Contrils the injection type.
diff --git a/Documentation/filesystems/f2fs.txt b/Documentation/filesystems/f2fs.txt
index 4f6531a4701b..8b04a6359530 100644
--- a/Documentation/filesystems/f2fs.txt
+++ b/Documentation/filesystems/f2fs.txt
@@ -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.
--
2.13.1.388.g69e6b9b4f4a9
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 1/4] f2fs: fix to show injection rate in ->show_options Chao Yu <yuchao0@huawei.com> - 2017-06-12 03:50 +0200 [PATCH 3/4] f2fs: fix incorrect document of batched_trim_sections Chao Yu <yuchao0@huawei.com> - 2017-06-12 03:50 +0200 [PATCH 4/4] f2fs: fix wrong error number of fill_super Chao Yu <yuchao0@huawei.com> - 2017-06-12 03:50 +0200 [PATCH 2/4] f2fs: fix to document fault injection option and sysfs file Chao Yu <yuchao0@huawei.com> - 2017-06-12 03:50 +0200
csiph-web