Malahal has uploaded this change for review.
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@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 change 464030. To unsubscribe, or for help writing mail filters, visit settings.