Change in ffilz/nfs-ganesha[next]: readdir_correctness - Empty cache during run
From Daniel Gryniewicz <dang@redhat.com>: Daniel Gryniewicz has uploaded this change for review. ( https://review.gerrithub.io/427784 Change subject: readdir_correctness - Empty cache during run ...................................................................... readdir_correctness - Empty cache during run Even though we drop our refs, the way that the entries are created causes them all to stay in the cache, even though reachable. Add a debug function to MDCACHE to allow cleaning up all reapable entries in the cache, so that readdir will trigger all the "missing entry" cases. Change-Id: I99f6bc9d5ae2bcf354d4eb2f6c510f9926d85f97 Signed-off-by: Daniel Gryniewicz <dang@redhat.com> Signed-off-by: Daniel Gryniewicz <dang@fprintf.net> --- M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_debug.h M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_lru.c M src/gtest/fsal_api/test_readdir_correctness.cc 3 files changed, 32 insertions(+), 1 deletion(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/84/427784/1 -- To view, visit https://review.gerrithub.io/427784 To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-MessageType: newchange Gerrit-Change-Id: I99f6bc9d5ae2bcf354d4eb2f6c510f9926d85f97 Gerrit-Change-Number: 427784 Gerrit-PatchSet: 1 Gerrit-Owner: Daniel Gryniewicz <dang@redhat.com>
participants (1)
-
GerritHub