summaryrefslogtreecommitdiff
path: root/fs/f2fs/file.c
diff options
context:
space:
mode:
authorYangtao Li <frank.li@vivo.com>2023-02-06 17:43:08 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-11 15:50:27 +0300
commit273c118fb0adf8466b751335253ac798feadd078 (patch)
treef93aef225d76b69bc6935af7503fe49cd3ebe449 /fs/f2fs/file.c
parentc2f633a4c130b6090a9dd82caba9f02f8143dd9f (diff)
downloadlinux-273c118fb0adf8466b751335253ac798feadd078.tar.xz
f2fs: fix to set ipu policy
[ Upstream commit c5bf83483382600988d7db5ffe9fcd1936b491fd ] For LFS mode, it should update outplace and no need inplace update. When using LFS mode for small-volume devices, IPU will not be used, and the OPU writing method is actually used, but F2FS_IPU_FORCE can be read from the ipu_policy node, which is different from the actual situation. And remount to lfs mode should be disallowed when f2fs ipu is enabled, let's fix it. Fixes: 84b89e5d943d ("f2fs: add auto tuning for small devices") Signed-off-by: Yangtao Li <frank.li@vivo.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/f2fs/file.c')
0 files changed, 0 insertions, 0 deletions