>From Matt Benjamin <mbenja...@redhat.com>:

Matt Benjamin has uploaded a new change for review. ( 
https://review.gerrithub.io/304819


Change subject: drc: fix retire window accounting ++
......................................................................

drc: fix retire window accounting ++

Fix the circular check in drc_should_retire().  Adjust the retire
window by 2 rather than one on fulfilling a request from cache,
but adjust down by 1 for each completed request.

In addition, work harder to avoid growth of DRC caches above
drc->maxsize by retiring up to 5 additional requests when recovering,
and also attempting to retire up to 5 positions behind LRU if
the LRU has a positive refcnt.

Change-Id: I00b2c32ab0c41f2e7665fc3a3dd3feaa2f7d3f9d
Signed-off-by: Matt Benjamin <mbenja...@redhat.com>
---
M src/RPCAL/nfs_dupreq.c
1 file changed, 50 insertions(+), 21 deletions(-)



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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I00b2c32ab0c41f2e7665fc3a3dd3feaa2f7d3f9d
Gerrit-Change-Number: 304819
Gerrit-PatchSet: 1
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Owner: Matt Benjamin <mbenja...@redhat.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