Yea that was what I assumed but that part seems to have got tangled up with the 
fd recovery. We need to rework the fd recovery anyway. Maybe another 2.6 item. 
And then we can make a proper gradual demotion to L2. 

Frank

Sent from my iPhone

> On Apr 6, 2017, at 5:10 PM, Matt W. Benjamin <m...@cohortfs.com> wrote:
> 
> Hi Frank,
> 
> Entries were supposed to gradually move to L2 independent of any other 
> process--the only connection was intended to be that the L1 -> L2 transition 
> might induce other compaction, hints, etc as a side effect.
> 
> Matt
> 
> ----- "Frank Filz" <ffilz...@mindspring.com> wrote:
> 
>> Take a look:
>> 
>> https://review.gerrithub.io/356041
>> 
>> It's not complete, and not tested, but it's at least something to look
>> at
>> and discuss.
>> 
>> I do have one question about the lru run thread. For mdcache entries,
>> it's
>> running seems dependent on open file descriptors, not number of
>> mdcache
>> entries in use, and thus it looks like only when there's too many open
>> file
>> descriptors will it put pressure to demote mdache entries from the L1
>> to the
>> L2 queue. I'm not sure that's a good behavior, especially as we get
>> away
>> from having so many open file descriptors tracked by mdcache (open fd
>> associated with state aren't counted against the high water mark).
>> 
>> Frank
>> 
>> 
>> ---
>> This email has been checked for viruses by Avast antivirus software.
>> https://www.avast.com/antivirus
>> 
>> 
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Nfs-ganesha-devel mailing list
>> Nfs-ganesha-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel
> 
> -- 
> Matt Benjamin
> CohortFS, LLC.
> 315 West Huron Street, Suite 140A
> Ann Arbor, Michigan 48103
> 
> http://cohortfs.com
> 
> tel.  734-761-4689 
> fax.  734-769-8938 
> cel.  734-216-5309 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to