Kinglong Mee has uploaded this change for review.

View Change

FSAL_MDCACHE: always lookup newname from uncached

When the parent mdcache entry has been invalidated, then newname mdcache
entry is exist but is not linked (without mdcache_dir_entry_t).

Mdcache rename lookup newname from the cache cannot find the mdcache entry.
After that, the mdcache entry will be move to lru L2 list at lru_run,
and exist until the lru_state.entries_used reachs lru_state.entries_hiwat.

As that, the newname mdcache entry should be removed after rename success,
but it is left.

Change-Id: I3eca8f1c5fecaf18fb134448c35c863118331ca5
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_handle.c
1 file changed, 7 insertions(+), 7 deletions(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3eca8f1c5fecaf18fb134448c35c863118331ca5
Gerrit-Change-Number: 421207
Gerrit-PatchSet: 1
Gerrit-Owner: Kinglong Mee <kinglongmee@gmail.com>