f2fs: add a way to turn off ipu bio cache
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 7 Jan 2020 00:43:09 +0000 (16:43 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sat, 18 Jan 2020 00:48:43 +0000 (16:48 -0800)
commit0e7f41974e9c6ceac3ac9b5d0377c5f74b1bc4fc
treef0ac5c4242560a103d231f744a458355bc5d219d
parentbf2cbd3c57159c2b639ee8797b52ab5af180bf83
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>
Documentation/filesystems/f2fs.txt
fs/f2fs/segment.c
fs/f2fs/segment.h