Re: [PATCH] f2fs: set_code_data in move_data_block

2018-02-10 Thread Yunlong Song
OK, Got it. On 2018/2/11 11:50, Chao Yu wrote: On 2018/2/11 11:34, Yunlong Song wrote: Ping... move_data_block misses set_cold_data, then the F2FS_WB_CP_DATA will lack these data pages in move_data_block, and write_checkpoint can not make sure this pages committed to the flash. Hmm.. data

Re: [PATCH] f2fs: set_code_data in move_data_block

2018-02-10 Thread Yunlong Song
OK, Got it. On 2018/2/11 11:50, Chao Yu wrote: On 2018/2/11 11:34, Yunlong Song wrote: Ping... move_data_block misses set_cold_data, then the F2FS_WB_CP_DATA will lack these data pages in move_data_block, and write_checkpoint can not make sure this pages committed to the flash. Hmm.. data

RE: [PATCH] f2fs: set_code_data in move_data_block

2018-02-10 Thread heyunlei
.net; linux-kernel@vger.kernel.org >Subject: Re: [PATCH] f2fs: set_code_data in move_data_block > >Ping... > >move_data_block misses set_cold_data, then the F2FS_WB_CP_DATA will >lack these data pages in move_data_block, and write_checkpoint can >not make sure this pages committed to the

RE: [PATCH] f2fs: set_code_data in move_data_block

2018-02-10 Thread heyunlei
.net; linux-kernel@vger.kernel.org >Subject: Re: [PATCH] f2fs: set_code_data in move_data_block > >Ping... > >move_data_block misses set_cold_data, then the F2FS_WB_CP_DATA will >lack these data pages in move_data_block, and write_checkpoint can >not make sure this pages committed to the

Re: [PATCH] f2fs: set_code_data in move_data_block

2018-02-10 Thread Chao Yu
On 2018/2/11 11:34, Yunlong Song wrote: > Ping... > > move_data_block misses set_cold_data, then the F2FS_WB_CP_DATA will > lack these data pages in move_data_block, and write_checkpoint can > not make sure this pages committed to the flash. Hmm.. data block migration is running based on meta

Re: [PATCH] f2fs: set_code_data in move_data_block

2018-02-10 Thread Chao Yu
On 2018/2/11 11:34, Yunlong Song wrote: > Ping... > > move_data_block misses set_cold_data, then the F2FS_WB_CP_DATA will > lack these data pages in move_data_block, and write_checkpoint can > not make sure this pages committed to the flash. Hmm.. data block migration is running based on meta

Re: [PATCH] f2fs: set_code_data in move_data_block

2018-02-10 Thread Yunlong Song
Ping... move_data_block misses set_cold_data, then the F2FS_WB_CP_DATA will lack these data pages in move_data_block, and write_checkpoint can not make sure this pages committed to the flash. On 2018/2/8 20:33, Yunlong Song wrote: Signed-off-by: Yunlong Song ---

Re: [PATCH] f2fs: set_code_data in move_data_block

2018-02-10 Thread Yunlong Song
Ping... move_data_block misses set_cold_data, then the F2FS_WB_CP_DATA will lack these data pages in move_data_block, and write_checkpoint can not make sure this pages committed to the flash. On 2018/2/8 20:33, Yunlong Song wrote: Signed-off-by: Yunlong Song --- fs/f2fs/gc.c | 1 + 1 file