Re: [f2fs-dev] [PATCH] mkfs.f2fs: fix incorrect cold data location

2018-04-07 Thread Chao Yu
On 2018/4/5 11:47, Jaegeuk Kim wrote: > On 04/04, Chao Yu wrote: >> If last_zone((total_zones >> 2)) is equal or less than >> next_zone(CURSEG_COLD_NODE), cold data area will be located in the >> same position with hot data, fixes it. > > verify_cur_segs() will rearrage this? Yes, finally, verify

Re: [f2fs-dev] [PATCH] mkfs.f2fs: fix incorrect cold data location

2018-04-04 Thread Jaegeuk Kim
On 04/04, Chao Yu wrote: > If last_zone((total_zones >> 2)) is equal or less than > next_zone(CURSEG_COLD_NODE), cold data area will be located in the > same position with hot data, fixes it. verify_cur_segs() will rearrage this? > > Signed-off-by: Chao Yu > --- > mkfs/f2fs_format.c | 2 +- >

[f2fs-dev] [PATCH] mkfs.f2fs: fix incorrect cold data location

2018-04-03 Thread Chao Yu
If last_zone((total_zones >> 2)) is equal or less than next_zone(CURSEG_COLD_NODE), cold data area will be located in the same position with hot data, fixes it. Signed-off-by: Chao Yu --- mkfs/f2fs_format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkfs/f2fs_format.c b/