diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-09-17 03:30:54 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-09-23 20:10:24 +0200 |
commit | 9b5f136fd41658f384a5b4ea49d8ef37036e15f5 (patch) | |
tree | 9264f0986377dfdb252db27ba59fbb2cb1210bce /fs/f2fs/segment.c | |
parent | f2fs: fix to search whole dirty segmap when get_victim (diff) | |
download | linux-9b5f136fd41658f384a5b4ea49d8ef37036e15f5.tar.xz linux-9b5f136fd41658f384a5b4ea49d8ef37036e15f5.zip |
f2fs: change the ipu_policy option to enable combinations
This patch changes the ipu_policy setting to use any combination of orthogonal policies.
Signed-off-by: Changman Lee <cm224.lee@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/segment.c')
-rw-r--r-- | fs/f2fs/segment.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index 24b768ae39c4..3125a3d35245 100644 --- a/fs/f2fs/segment.c +++ b/fs/f2fs/segment.c @@ -1928,7 +1928,7 @@ int build_segment_manager(struct f2fs_sb_info *sbi) sm_info->ssa_blkaddr = le32_to_cpu(raw_super->ssa_blkaddr); sm_info->rec_prefree_segments = sm_info->main_segments * DEF_RECLAIM_PREFREE_SEGMENTS / 100; - sm_info->ipu_policy = F2FS_IPU_FSYNC; + sm_info->ipu_policy = 1 << F2FS_IPU_FSYNC; sm_info->min_ipu_util = DEF_MIN_IPU_UTIL; sm_info->min_fsync_blocks = DEF_MIN_FSYNC_BLOCKS; |