>From Frank Filz <ffilz...@mindspring.com>:

Frank Filz has uploaded this change for review. ( 
https://review.gerrithub.io/367446


Change subject: Implement an LRU list for loose dirents
......................................................................

Implement an LRU list for loose dirents

A new config parameter Loose_Mult limits the number of loose dirents.
The maximum is expressed as a multiple of the chunk size (allowing
most instances to leave this option at default).

As loose dirents are added, they are added to an LRU list in the MRU
position. If the list already contains the maximum number, the LRU
item will be discarded. Any lookup that finds a loose dirent in cache
will move that entry to the MRU position in the list.

Change-Id: Iffa0662ce610b2aa978deb1922d37fd11fadcd9a
Signed-off-by: Frank S. Filz <ffilz...@mindspring.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_avl.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_avl.h
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_ext.h
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_helpers.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_int.h
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_read_conf.c
M src/config_samples/config.txt
M src/doc/man/ganesha-cache-config.rst
8 files changed, 116 insertions(+), 38 deletions(-)



  git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha 
refs/changes/46/367446/1
-- 
To view, visit https://review.gerrithub.io/367446
To unsubscribe, visit https://review.gerrithub.io/settings

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iffa0662ce610b2aa978deb1922d37fd11fadcd9a
Gerrit-Change-Number: 367446
Gerrit-PatchSet: 1
Gerrit-Owner: Frank Filz <ffilz...@mindspring.com>
------------------------------------------------------------------------------
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