sepia-liu has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/490794 )
Change subject: MDCACHE - Fix readdir reply to duplicate cookie to client
......................................................................
MDCACHE - Fix readdir reply to duplicate cookie to client
When the last dirent lookup entry failed by ckey,
the chunk containing the dirent is freed, then
next_ck=chunk->reload_ck and the chunk will repopulate,
by skipping already used dirent and look_ck dirent,
here next_ck not change and look_ck=0 cause reply to duplicate cookie
Change-Id: Id71f53afbf2506728551dfab6fbffa581c1284a0
Signed-off-by: sepia-liu <liuwei_coder(a)163.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_helpers.c
1 file changed, 5 insertions(+), 5 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/94/490794/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/490794
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: Id71f53afbf2506728551dfab6fbffa581c1284a0
Gerrit-Change-Number: 490794
Gerrit-PatchSet: 1
Gerrit-Owner: sepia-liu <liuwei_coder(a)163.com>
Gerrit-MessageType: newchange