Change in ...nfs-ganesha[next]: MDCACHE: add lru release entries process
sepia-liu has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/494407 ) Change subject: MDCACHE: add lru release entries process ...................................................................... MDCACHE: add lru release entries process If something refs a lot of entries at the same time and above the high water mark, we have no way to release cache entries below water level,though it can be released. By adding this process, every time we can try best to release the number of entries until entries used below the water level, the max number of release per time is Entries_Release_Size. Change-Id: I22e824d0b876ce56848e305db3a948e5c9e8cf84 Signed-off-by: sepia-liu <liuwei_coder@163.com> --- M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_lru.c M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_lru.h 2 files changed, 55 insertions(+), 0 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/07/494407/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/494407 To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: I22e824d0b876ce56848e305db3a948e5c9e8cf84 Gerrit-Change-Number: 494407 Gerrit-PatchSet: 1 Gerrit-Owner: sepia-liu <liuwei_coder@163.com> Gerrit-MessageType: newchange
participants (1)
-
sepia-liu (GerritHub)