Commit 39cc9b23 authored by Chao Yu's avatar Chao Yu Committed by Weichao Guo
Browse files

BACKPORT: f2fs: introduce F2FS_IPU_HONOR_OPU_WRITE ipu policy



Once F2FS_IPU_FORCE policy is enabled in some cases:
a) f2fs forces to use F2FS_IPU_FORCE in a small-sized volume
b) user sets F2FS_IPU_FORCE policy via sysfs

Then we may fail to defragment file due to IPU policy check, it doesn't
make sense, let's introduce a new IPU policy to allow OPU during file
defragmentation.

In small-sized volume, let's enable F2FS_IPU_HONOR_OPU_WRITE policy
by default.

Bug: 244657983
Bug: 244749885

Signed-off-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
(cherry picked from commit 1018a546)
Change-Id: I05dfa5a07a6a17dcda68f50a8f4a8260c2612dcc
parent 2ecb39ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment