Change in ...nfs-ganesha[next]: MDCACHE: remove call of cih_remove_checked in mdcache_unexport
sepia-liu has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/495180 ) Change subject: MDCACHE: remove call of cih_remove_checked in mdcache_unexport ...................................................................... MDCACHE: remove call of cih_remove_checked in mdcache_unexport We do not need to unhash the root entry in mdcache_unexport, it was unhasded by mdcache_lru_cleanup_try_push in the loop if the object entry is junction node and not used by other export. It's not used here. Another case, if the object entry to be root of multiple exports, here should not unhash and set entry as invalid when the first export unmount. Until the last export is released, the entry holds the sentinel reference for recycling and releasing. Change-Id: Ie15ea032e78c4476bede191e8edcf1619cda4686 Signed-off-by: sepia-liu <liuwei_coder@163.com> --- M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_export.c 1 file changed, 0 insertions(+), 5 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/80/495180/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/495180 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: Ie15ea032e78c4476bede191e8edcf1619cda4686 Gerrit-Change-Number: 495180 Gerrit-PatchSet: 1 Gerrit-Owner: sepia-liu <liuwei_coder@163.com> Gerrit-MessageType: newchange
participants (1)
-
sepia-liu (GerritHub)