Malahal has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/464030 )
Change subject: Fix refcnt on shared UDP DRC
......................................................................
Fix refcnt on shared UDP DRC
Every request as well as the xprt will place a ref on TCP DRC. The
ref is released when a request is finished as well as when the xprt
is removed. For UDP DRC, we only place a ref for every request. The UDP
xprt doesn't place a ref but does unref when it is removed leading to
"refcnt will underrun" log messages.
We could place a ref on UDP DRC for the xprt or we could avoid unref
on UDP xprt removal. Since UDP DRC is shared and never freed, its ref
counting is not needed. This patch removes ref counting of UDP DRC.
Change-Id: I20c2e57b1d409942a363ce6bde7ca18cc25238b5
Signed-off-by: Malahal Naineni <malahal(a)us.ibm.com>
---
M src/RPCAL/nfs_dupreq.c
1 file changed, 31 insertions(+), 35 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/30/464030/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/464030
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: I20c2e57b1d409942a363ce6bde7ca18cc25238b5
Gerrit-Change-Number: 464030
Gerrit-PatchSet: 1
Gerrit-Owner: Malahal <malahal(a)gmail.com>
Gerrit-MessageType: newchange