Change in ...nfs-ganesha[next]: mdcache_lru.c: assert refcount consistency
Matthew DeVore has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/506533 ) Change subject: mdcache_lru.c: assert refcount consistency ...................................................................... mdcache_lru.c: assert refcount consistency Make sure mdcache handles are not in the cih table once their reference count reaches zero. This assert should always hold, and if not, we ought to know immediately on debug builds. After this assert, _mdcache_lru_unref calls mdcache_lru_clean which calls mdc_clean_entry which calls cih_remove_checked which will drop a ref if inavl is still true. Change-Id: Idc6310b17f3588351f6971fe921cb5a1dfc2808e Signed-off-by: Matthew DeVore <matvore@google.com> --- M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_lru.c 1 file changed, 6 insertions(+), 0 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/33/506533/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/506533 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: Idc6310b17f3588351f6971fe921cb5a1dfc2808e Gerrit-Change-Number: 506533 Gerrit-PatchSet: 1 Gerrit-Owner: Matthew DeVore <matvore@comcast.net> Gerrit-MessageType: newchange
participants (1)
-
Matthew DeVore (GerritHub)