sepia-liu has uploaded this change for review.

View Change

MDCACHE: add process of adjusting lru entries order

If the root object appears in the head of LRU, it will block
the lru object reaping and entries releasing. By adjusting
the root entry to the tail of LRU, let next entry be released.

Change-Id: Id1a17b26cc51d629642097852f20c4a2c2e5cf41
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, 73 insertions(+), 0 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/08/494408/1

To view, visit change 494408. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Id1a17b26cc51d629642097852f20c4a2c2e5cf41
Gerrit-Change-Number: 494408
Gerrit-PatchSet: 1
Gerrit-Owner: sepia-liu <liuwei_coder@163.com>
Gerrit-MessageType: newchange