Re: [f2fs-dev] [PATCH v5] f2fs: introduce a method to make nat journal more fresh

2018-04-13 Thread Chao Yu
On 2018/4/14 8:48, Jaegeuk Kim wrote: > I removed this patch in my test branch, since it simply gave a kernel panic. > Please test before sending patches. Sorry, I didn't find this bug in previous review. Look at this patch again, > + /* journal hit case, try to locate set in journal */ > +

Re: [f2fs-dev] [PATCH v5] f2fs: introduce a method to make nat journal more fresh

2018-04-13 Thread Jaegeuk Kim
I removed this patch in my test branch, since it simply gave a kernel panic. Please test before sending patches. repro 1. encrypt a dir 2. dd to create 10MB-sized file in the dir On 04/12, Chao Yu wrote: > On 2018/4/10 15:11, Yunlei He wrote: > > This patch introduce a method to make nat journal

Re: [f2fs-dev] [PATCH v5] f2fs: introduce a method to make nat journal more fresh

2018-04-12 Thread Chao Yu
On 2018/4/10 15:11, Yunlei He wrote: > This patch introduce a method to make nat journal more fresh: > i. sort set list using dirty entry number and cp version > average value. > ii. if meet with cache hit, update average version valus with > current cp version. > > With this patch,