>From Malahal <mala...@gmail.com>:

Malahal has uploaded a new change for review. ( 
https://review.gerrithub.io/342371


Change subject: WIP: Fix DRC refcounts
......................................................................

WIP: Fix DRC refcounts

Currently nfs_dupreq_start() takes a DRC ref with uncached requests.
Surprisingly, no reference is taken when a request is actually cached!
We seem to release DRC ref only when commands fail or get dropped.

Instrumented GPFS fsal to return EBADF/ERR_FSAL_NOT_OPENED on fsal write
request to mimic a real issue. With this, we don't ref DRC for a write
request but we do unref after its failure leading to underrun of ref
count error messages!

Change-Id: I79f1b5198be2bcd0964f22ac01d5accf8ee25e00
Signed-off-by: Malahal Naineni <mala...@us.ibm.com>
---
M src/RPCAL/nfs_dupreq.c
1 file changed, 35 insertions(+), 56 deletions(-)



  git pull ssh://review.gerrithub.io:29419/ffilz/nfs-ganesha 
refs/changes/71/342371/1
-- 
To view, visit https://review.gerrithub.io/342371
To unsubscribe, visit https://review.gerrithub.io/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I79f1b5198be2bcd0964f22ac01d5accf8ee25e00
Gerrit-Change-Number: 342371
Gerrit-PatchSet: 1
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Owner: Malahal <mala...@gmail.com>
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to