vicente has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/533177 )
Change subject: MDCACHE: correct the fds_avg and some cleanup
......................................................................
MDCACHE: correct the fds_avg and some cleanup
- fds_avg should be (high water + low water)/2
- avoid to do extra atomic_fetch in logger and some checking
Change-Id: I950cfdecbed462fc4a7d323c8c260bd926fee63d
Signed-off-by: Vicente Cheng <vicente_cheng(a)bigtera.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_lru.c
1 file changed, 30 insertions(+), 12 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/77/533177/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/533177
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I950cfdecbed462fc4a7d323c8c260bd926fee63d
Gerrit-Change-Number: 533177
Gerrit-PatchSet: 1
Gerrit-Owner: vicente <freeze.bilsted(a)gmail.com>
Gerrit-MessageType: newchange