>From Daniel Gryniewicz <d...@redhat.com>:

Daniel Gryniewicz has uploaded this change for review. ( 
https://review.gerrithub.io/396194


Change subject: MDCACHE - cache entry even if parent dir full
......................................................................

MDCACHE - cache entry even if parent dir full

During readdir, the FSAL passes us a sub-handle, and expects us to
create an entry for it.  But, there's no way to pass back to the FSAL
that we didn't use it and it should be freed.  This can happen if the
parent dir is larger than Dir_Max.

To work around this, cache the entry anyway, so that when that entry is
reused the FSAL's entry will be freed.

Change-Id: I0591440bffdc5f17ceae98362b49e645662e57de
Signed-off-by: Daniel Gryniewicz <d...@redhat.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_helpers.c
1 file changed, 9 insertions(+), 8 deletions(-)



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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0591440bffdc5f17ceae98362b49e645662e57de
Gerrit-Change-Number: 396194
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Gryniewicz <d...@redhat.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