diff options
author | Yangtao Li <frank.li@vivo.com> | 2023-02-06 17:43:08 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-11 15:50:27 +0300 |
commit | 273c118fb0adf8466b751335253ac798feadd078 (patch) | |
tree | f93aef225d76b69bc6935af7503fe49cd3ebe449 /fs/f2fs/Kconfig | |
parent | c2f633a4c130b6090a9dd82caba9f02f8143dd9f (diff) | |
download | linux-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/Kconfig')
0 files changed, 0 insertions, 0 deletions