Re: [f2fs-dev] [PATCH 2/2] f2fs: shrink unreferenced extent_caches first

2015-07-11 Thread Jaegeuk Kim
On Wed, Jul 08, 2015 at 05:41:57PM +0800, Chao Yu wrote: [snip] > > > > You're right. We don't need to drop it having the lowest ino first. > > > > Actually, I was supposed to add an LRU list for extent_trees. > > > > But, do we need to really take care of its order for already evicted > > > > i

RE: [f2fs-dev] [PATCH 2/2] f2fs: shrink unreferenced extent_caches first

2015-07-10 Thread Chao Yu
rg; > linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net > Subject: Re: [f2fs-dev] [PATCH 2/2] f2fs: shrink unreferenced extent_caches > first > > On Wed, Jul 08, 2015 at 05:41:57PM +0800, Chao Yu wrote: > > [snip] > > > > > > You'

RE: [f2fs-dev] [PATCH 2/2] f2fs: shrink unreferenced extent_caches first

2015-07-08 Thread Chao Yu
To: Chao Yu > > > Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; > > > linux-f2fs-de...@lists.sourceforge.net > > > Subject: Re: [f2fs-dev] [PATCH 2/2] f2fs: shrink unreferenced > > > extent_caches first > > > > > > On Thu, Jul 02

Re: [f2fs-dev] [PATCH 2/2] f2fs: shrink unreferenced extent_caches first

2015-07-06 Thread Jaegeuk Kim
.kernel.org; > > linux-f2fs-de...@lists.sourceforge.net > > Subject: Re: [f2fs-dev] [PATCH 2/2] f2fs: shrink unreferenced extent_caches > > first > > > > On Thu, Jul 02, 2015 at 08:39:43PM +0800, Chao Yu wrote: > > > > -Original Message- > > > > From:

RE: [f2fs-dev] [PATCH 2/2] f2fs: shrink unreferenced extent_caches first

2015-07-06 Thread Chao Yu
t; To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > > > linux-f2fs-de...@lists.sourceforge.net; linux-kernel@vger.kernel.org; > > > linux-fsde...@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net > > > Cc: Jaegeuk Kim; Jaegeuk Kim > > > Subject: [f2

Re: [f2fs-dev] [PATCH 2/2] f2fs: shrink unreferenced extent_caches first

2015-07-03 Thread Jaegeuk Kim
fs-de...@lists.sourceforge.net; linux-kernel@vger.kernel.org; > > linux-fsde...@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net > > Cc: Jaegeuk Kim; Jaegeuk Kim > > Subject: [f2fs-dev] [PATCH 2/2] f2fs: shrink unreferenced extent_caches > > first > > > > If an

RE: [f2fs-dev] [PATCH 2/2] f2fs: shrink unreferenced extent_caches first

2015-07-02 Thread Chao Yu
.kernel.org; linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim; Jaegeuk Kim > Subject: [f2fs-dev] [PATCH 2/2] f2fs: shrink unreferenced extent_caches first > > If an extent_tree entry has a zero reference count, we can drop it from the > cache in higher priority rather t