• Chao Yu's avatar
    f2fs: introduce F2FS_IPU_HONOR_OPU_WRITE ipu policy · 1018a546
    Chao Yu authored
    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.
    Signed-off-by: default avatarChao Yu <chao@kernel.org>
    Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
    1018a546
sysfs-fs-f2fs 22.4 KB