>From Kinglong Mee <kinglong...@gmail.com>:
Kinglong Mee has uploaded this change for review. (
https://review.gerrithub.io/398742
Change subject: MDCACHE: Calculate the new thread wait more reasonable
......................................................................
MDCACHE: Calculate the new thread wait more reasonable
Right now, fdwait_ratio is less than 1, the new_thread_wait
is decreased from 90s to 9s, and then is 9s forever.
This patch calculating the new thread wait based on,
1. mdcache_param.lru_run_interval, if the thread is waked by timeout;
2. curr_time - lru_state.prev_time, if the thread is waked by open request.
Change-Id: I73775eb5ecf0af2acf0564e1e4df5f47e5c3f7d8
Signed-off-by: Kinglong Mee <mijinl...@open-fs.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_lru.c
1 file changed, 9 insertions(+), 4 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha
refs/changes/42/398742/1
--
To view, visit https://review.gerrithub.io/398742
To unsubscribe, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I73775eb5ecf0af2acf0564e1e4df5f47e5c3f7d8
Gerrit-Change-Number: 398742
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