>From Sachin Punadikar <psac...@in.ibm.com>:

Sachin Punadikar has uploaded this change for review. ( 
https://review.gerrithub.io/387181


Change subject: Handle FSAL cookie collision in MDCACHE
......................................................................

Handle FSAL cookie collision in MDCACHE

For a fast changing directory, MDCACHE may report below errors
ganesha.nfsd-13283[work-235] mdcache_avl_insert_ck :INODE :WARN :
Already existent when inserting dirent 0x7f1e8008de40 for 13 on
entry=0x7f2180004530 FSAL cookie=4f1529d5, duplicated directory
cookies make READDIR unreliable.
ganesha.nfsd-13283[work-235] mdc_readdir_chunk_object :INODE :CRIT :
Collision while adding dirent for 13
Above errors indicates that alredy cached / dirents provided to
the client are incorrect. At this point we should stop reading
dirents, mark the cached contents invalid, and return status as
ERR_FSAL_DELAY so that client will reissue READDIR.

Change-Id: I70333542b2780c598c6034c47f67eea46f7ab42c
Signed-off-by: Sachin Punadikar <psac...@in.ibm.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_avl.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_helpers.c
2 files changed, 15 insertions(+), 2 deletions(-)



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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I70333542b2780c598c6034c47f67eea46f7ab42c
Gerrit-Change-Number: 387181
Gerrit-PatchSet: 1
Gerrit-Owner: Sachin Punadikar <psac...@in.ibm.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