Frank Filz has uploaded this change for review.

View Change

MDCACHE: change entry LRU unref to use PTHREAD_MUTEX_dec_int32_t_and_lock

This assures that we only take the QLOCK in the thread that decremented
refcount to 0.

Change-Id: I944acf979cbe4f036343ce532e9129ea57bdd037
Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_lru.c
1 file changed, 36 insertions(+), 52 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/36/557136/1

To view, visit change 557136. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I944acf979cbe4f036343ce532e9129ea57bdd037
Gerrit-Change-Number: 557136
Gerrit-PatchSet: 1
Gerrit-Owner: Frank Filz <ffilzlnx@mindspring.com>
Gerrit-MessageType: newchange