diff options
author | Chao Yu <yuchao0@huawei.com> | 2018-02-26 15:04:13 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-03-13 00:05:48 +0100 |
commit | 846ae671ad368e344a2b141c0f19e1014b27a0dd (patch) | |
tree | b220f05ab079e37343b841d368a58916388149ab /Documentation/ABI | |
parent | f2fs: fix to set KEEP_SIZE bit in f2fs_zero_range (diff) | |
download | linux-846ae671ad368e344a2b141c0f19e1014b27a0dd.tar.xz 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')
-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 |