Re: [PATCH] f2fs: fix to determine start_cp_addr by sbi->cur_cp_pack

2016-12-12 Thread Jaegeuk Kim
On 12/10, Chao Yu wrote: > Hi Jaegeuk, > > Let me try to understand this, in some cases, we can write a checkpoint pack > which has wrong cp_ver, like in 1st cp pack which has even version number or > 2nd > cp pack which has odd version number, so if we load that kind of cp pack > during > fill_

Re: [PATCH] f2fs: fix to determine start_cp_addr by sbi->cur_cp_pack

2016-12-09 Thread Chao Yu
Hi Jaegeuk, Let me try to understand this, in some cases, we can write a checkpoint pack which has wrong cp_ver, like in 1st cp pack which has even version number or 2nd cp pack which has odd version number, so if we load that kind of cp pack during fill_super, we may load wrong summary data from