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

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


Change subject: MDCACHE - Release unused new entries
......................................................................

MDCACHE - Release unused new entries

When a new entry is allocated, it can be left unused (not put into the
hash table or LRU), and released after that.  However,
mdcache_kill_entry() would only try to release if it was in the hash
table.

Instead of calling mdcache_kill_entry(), just put the sentinal ref.

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



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

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