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

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


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

Handle FSAL cookie irregularities in MDCACHE

While reading a directory, if the directory contents are getting modified
simultaneously, then there are chances of hitting cookie irregularities.
Function mdcache_avl_qp_insert returns error code -3 & -4 in such cases.
Error code -3 is returned when file name is matching with existing name
but the cookie is different. This can happen if new entries got added to the
directory resulting in new cookie for the same file. In case of -3 error code,
the client should reread the directory.
Error code -4 is handled by commit: 8f9c8c1a2fa9a84b7fd692d8b6f5451b626bbb91

Change-Id: I2b7fcd20d49f022cc8ec0dd1cd4fde9aab626d6f
Signed-off-by: Sachin Punadikar <psac...@in.ibm.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_helpers.c
1 file changed, 10 insertions(+), 6 deletions(-)



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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2b7fcd20d49f022cc8ec0dd1cd4fde9aab626d6f
Gerrit-Change-Number: 394746
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