>From Kinglong Mee <kinglong...@gmail.com>:
Kinglong Mee has uploaded this change for review. (
https://review.gerrithub.io/382629
Change subject: drc: cleanup duplicate checking of refcnt in drc_free_expired
......................................................................
drc: cleanup duplicate checking of refcnt in drc_free_expired
As described at "The life of tcp drc", when a drc's refcount goes to zero,
it is put onto recycle queue.
So only drc's with non-zero refcount exists in the tree alone.
Drc's with zero refcount should be in the tree as well as the queue.
All checking of "refcnt == 0" are duplidate in drc_free_expired().
Change-Id: Ie31cae5fe929a2d62849fc35a30a6b5b866b5906
Signed-off-by: Kinglong Mee <kinglong...@gmail.com>
---
M src/RPCAL/nfs_dupreq.c
1 file changed, 6 insertions(+), 11 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha
refs/changes/29/382629/1
--
To view, visit https://review.gerrithub.io/382629
To unsubscribe, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie31cae5fe929a2d62849fc35a30a6b5b866b5906
Gerrit-Change-Number: 382629
Gerrit-PatchSet: 1
Gerrit-Owner: Kinglong Mee <kinglong...@gmail.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