Re: [f2fs-dev] [PATCH v2] f2fs: use cur_map instead of ckpt_map

2018-04-20 Thread Chao Yu
t; Sent: Friday, April 13, 2018 9:12 AM >>>>> To: Jaegeuk Kim; heyunlei >>>>> Cc: linux-f2fs-devel@lists.sourceforge.net; Wangbintian; Zhangdianfang >>>>> (Euler) >>>>> Subject: Re: [f2fs-dev][PATCH v2] f2fs: use cur_map instead of ckpt_map &g

Re: [f2fs-dev] [PATCH v2] f2fs: use cur_map instead of ckpt_map

2018-04-19 Thread heyunlei
>-Original Message- >From: Jaegeuk Kim [mailto:jaeg...@kernel.org] >Sent: Friday, April 20, 2018 11:41 AM >To: Yuchao (T) >Cc: heyunlei; linux-f2fs-devel@lists.sourceforge.net; Wangbintian; >Zhangdianfang (Euler) >Subject: Re: [f2fs-dev][PATCH v2] f2fs: use cur_ma

Re: [f2fs-dev] [PATCH v2] f2fs: use cur_map instead of ckpt_map

2018-04-19 Thread Jaegeuk Kim
Kim; heyunlei > >>> Cc: linux-f2fs-devel@lists.sourceforge.net; Wangbintian; Zhangdianfang > >>> (Euler) > >>> Subject: Re: [f2fs-dev][PATCH v2] f2fs: use cur_map instead of ckpt_map > >>> > >>> On 2018/4/13 6:37, Jaegeuk Kim wrote: &g

Re: [f2fs-dev] [PATCH v2] f2fs: use cur_map instead of ckpt_map

2018-04-19 Thread Chao Yu
rge.net; Wangbintian; Zhangdianfang >>> (Euler) >>> Subject: Re: [f2fs-dev][PATCH v2] f2fs: use cur_map instead of ckpt_map >>> >>> On 2018/4/13 6:37, Jaegeuk Kim wrote: >>>> On 04/10, Yunlei He wrote: >>>>> In flush_sit_entries::add_dis

Re: [f2fs-dev] [PATCH v2] f2fs: use cur_map instead of ckpt_map

2018-04-19 Thread Jaegeuk Kim
On 04/20, heyunlei wrote: > > > >-Original Message- > >From: Yuchao (T) > >Sent: Friday, April 13, 2018 9:12 AM > >To: Jaegeuk Kim; heyunlei > >Cc: linux-f2fs-devel@lists.sourceforge.net; Wangbintian; Zhangdianfang > >(Euler) > >Sub

Re: [f2fs-dev] [PATCH v2] f2fs: use cur_map instead of ckpt_map

2018-04-19 Thread heyunlei
>-Original Message- >From: Yuchao (T) >Sent: Friday, April 13, 2018 9:12 AM >To: Jaegeuk Kim; heyunlei >Cc: linux-f2fs-devel@lists.sourceforge.net; Wangbintian; Zhangdianfang (Euler) >Subject: Re: [f2fs-dev][PATCH v2] f2fs: use cur_map instead of ckpt_map > >On

Re: [f2fs-dev] [PATCH v2] f2fs: use cur_map instead of ckpt_map

2018-04-12 Thread Chao Yu
On 2018/4/13 6:37, Jaegeuk Kim wrote: > On 04/10, Yunlei He wrote: >> In flush_sit_entries::add_discard_addrs path, cur_map and ckpt_map >> are the same, but in exist_trim_candidates::add_discard_addrs, >> cur_map is updated one, and newer than ckpt_map, so we need to use >> cur_map to check whethe

Re: [f2fs-dev] [PATCH v2] f2fs: use cur_map instead of ckpt_map

2018-04-12 Thread Jaegeuk Kim
On 04/10, Yunlei He wrote: > In flush_sit_entries::add_discard_addrs path, cur_map and ckpt_map > are the same, but in exist_trim_candidates::add_discard_addrs, > cur_map is updated one, and newer than ckpt_map, so we need to use > cur_map to check whether there are discard candidates. > > v1->v2:

Re: [f2fs-dev] [PATCH v2] f2fs: use cur_map instead of ckpt_map

2018-04-09 Thread Chao Yu
On 2018/4/10 10:50, Yunlei He wrote: > In flush_sit_entries::add_discard_addrs path, cur_map and ckpt_map > are the same, but in exist_trim_candidates::add_discard_addrs, > cur_map is updated one, and newer than ckpt_map, so we need to use > cur_map to check whether there are discard candidates. >

[f2fs-dev] [PATCH v2] f2fs: use cur_map instead of ckpt_map

2018-04-09 Thread Yunlei He
In flush_sit_entries::add_discard_addrs path, cur_map and ckpt_map are the same, but in exist_trim_candidates::add_discard_addrs, cur_map is updated one, and newer than ckpt_map, so we need to use cur_map to check whether there are discard candidates. v1->v2: one problem of check discard candidate