diff options
author | Chao Yu <yuchao0@huawei.com> | 2018-02-26 22:04:13 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-03-13 08:05:48 +0900 |
commit | 846ae671ad368e344a2b141c0f19e1014b27a0dd (patch) | |
tree | b220f05ab079e37343b841d368a58916388149ab /Documentation/ABI/testing/sysfs-fs-f2fs | |
parent | 17cd07ae95073c298af92c1ba14ac58ce84de33b (diff) | |
download | linux-846ae671ad368e344a2b141c0f19e1014b27a0dd.tar.gz linux-846ae671ad368e344a2b141c0f19e1014b27a0dd.tar.bz2 linux-846ae671ad368e344a2b141c0f19e1014b27a0dd.zip |
f2fs: expose extension_list sysfs entry
This patch adds a sysfs entry 'extension_list' to support
query/add/del item in extension list.
Query:
cat /sys/fs/f2fs/<device>/extension_list
Add:
echo 'extension' > /sys/fs/f2fs/<device>/extension_list
Del:
echo '!extension' > /sys/fs/f2fs/<device>/extension_list
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-fs-f2fs')
-rw-r--r-- | Documentation/ABI/testing/sysfs-fs-f2fs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-fs-f2fs b/Documentation/ABI/testing/sysfs-fs-f2fs index d870b5514d15..7fa84e349ad9 100644 --- a/Documentation/ABI/testing/sysfs-fs-f2fs +++ b/Documentation/ABI/testing/sysfs-fs-f2fs @@ -192,3 +192,12 @@ Date: November 2017 Contact: "Sheng Yong" <shengyong1@huawei.com> Description: Controls readahead inode block in readdir. + +What: /sys/fs/f2fs/<disk>/extension_list +Date: Feburary 2018 +Contact: "Chao Yu" <yuchao0@huawei.com> +Description: + Used to control configure extension list: + - Query: cat /sys/fs/f2fs/<disk>/extension_list + - Add: echo 'extension' > /sys/fs/f2fs/<disk>/extension_list + - Del: echo '!extension' > /sys/fs/f2fs/<disk>/extension_list |