aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/f2fs.txt
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2020-01-06 16:43:09 -0800
committerJaegeuk Kim <jaegeuk@kernel.org>2020-01-17 16:48:43 -0800
commit0e7f41974e9c6ceac3ac9b5d0377c5f74b1bc4fc (patch)
treef0ac5c4242560a103d231f744a458355bc5d219d /Documentation/filesystems/f2fs.txt
parentf2fs: code cleanup for f2fs_statfs_project() (diff)
downloadlinux-dev-0e7f41974e9c6ceac3ac9b5d0377c5f74b1bc4fc.tar.xz
linux-dev-0e7f41974e9c6ceac3ac9b5d0377c5f74b1bc4fc.zip
f2fs: add a way to turn off ipu bio cache
Setting 0x40 in /sys/fs/f2fs/dev/ipu_policy gives a way to turn off bio cache, which is useufl to check whether block layer using hardware encryption engine merges IOs correctly. Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'Documentation/filesystems/f2fs.txt')
-rw-r--r--Documentation/filesystems/f2fs.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/filesystems/f2fs.txt b/Documentation/filesystems/f2fs.txt
index 41b5aa94b30f..b80a7b69f210 100644
--- a/Documentation/filesystems/f2fs.txt
+++ b/Documentation/filesystems/f2fs.txt
@@ -331,10 +331,11 @@ Files in /sys/fs/f2fs/<devname>
conducts. 32 sections is set by default.
ipu_policy This parameter controls the policy of in-place
- updates in f2fs. There are five policies:
+ updates in f2fs. User can set:
0x01: F2FS_IPU_FORCE, 0x02: F2FS_IPU_SSR,
0x04: F2FS_IPU_UTIL, 0x08: F2FS_IPU_SSR_UTIL,
- 0x10: F2FS_IPU_FSYNC.
+ 0x10: F2FS_IPU_FSYNC, 0x40: F2FS_IPU_NOCACHE.
+ Refer segment.h for details.
min_ipu_util This parameter controls the threshold to trigger
in-place-updates. The number indicates percentage