Re: [PATCH v2 6/6] f2fs: give up CP_TRIMMED_FLAG if it drops discards

2017-10-24 Thread Chao Yu
On 2017/10/25 13:45, Jaegeuk Kim wrote: > On 10/24, Chao Yu wrote: >> On 2017/10/24 20:46, Jaegeuk Kim wrote: >>> On 10/24, Chao Yu wrote: Hi Jaegeuk, On 2017/10/4 9:08, Chao Yu wrote: > From: Chao Yu > > In ->umount, once we drop remained discard entries, we should not

Re: [PATCH v2 6/6] f2fs: give up CP_TRIMMED_FLAG if it drops discards

2017-10-24 Thread Jaegeuk Kim
On 10/24, Chao Yu wrote: > On 2017/10/24 20:46, Jaegeuk Kim wrote: > > On 10/24, Chao Yu wrote: > >> Hi Jaegeuk, > >> > >> On 2017/10/4 9:08, Chao Yu wrote: > >>> From: Chao Yu > >>> > >>> In ->umount, once we drop remained discard entries, we should not > >>> set CP_TRIMMED_FLAG with another chec

Re: [PATCH v2 6/6] f2fs: give up CP_TRIMMED_FLAG if it drops discards

2017-10-24 Thread Chao Yu
On 2017/10/24 20:46, Jaegeuk Kim wrote: > On 10/24, Chao Yu wrote: >> Hi Jaegeuk, >> >> On 2017/10/4 9:08, Chao Yu wrote: >>> From: Chao Yu >>> >>> In ->umount, once we drop remained discard entries, we should not >>> set CP_TRIMMED_FLAG with another checkpoint. >>> >>> Signed-off-by: Chao Yu >>>

Re: [PATCH v2 6/6] f2fs: give up CP_TRIMMED_FLAG if it drops discards

2017-10-24 Thread Jaegeuk Kim
On 10/24, Chao Yu wrote: > Hi Jaegeuk, > > On 2017/10/4 9:08, Chao Yu wrote: > > From: Chao Yu > > > > In ->umount, once we drop remained discard entries, we should not > > set CP_TRIMMED_FLAG with another checkpoint. > > > > Signed-off-by: Chao Yu > > --- > > v2: > > - rebase on last codes of

Re: [PATCH v2 6/6] f2fs: give up CP_TRIMMED_FLAG if it drops discards

2017-10-24 Thread Chao Yu
Hi Jaegeuk, On 2017/10/4 9:08, Chao Yu wrote: > From: Chao Yu > > In ->umount, once we drop remained discard entries, we should not > set CP_TRIMMED_FLAG with another checkpoint. > > Signed-off-by: Chao Yu > --- > v2: > - rebase on last codes of Jaegeuk's dev-test branch. > fs/f2fs/f2fs.h