about summary refs log tree commit homepage
path: root/svc_dev.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-06-21 03:34:21 +0000
committerEric Wong <normalperson@yhbt.net>2013-06-25 21:27:53 +0000
commitd5a52618ca1f9b5d7f6998716fbfe7714f927112 (patch)
tree927845365d19c847368b4f678e39697303802bf1 /svc_dev.c
parent03c2391078e19dc36ea62c75fa6745569b5cbef6 (diff)
downloadcmogstored-d5a52618ca1f9b5d7f6998716fbfe7714f927112.tar.gz
We're using per-svc-based thread pools, so different MogileFS
instances we serve no longer affect each other.  This means
changing the aio_threads count only affects the svc of the
sidechannel port which triggered the change.
Diffstat (limited to 'svc_dev.c')
-rw-r--r--svc_dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/svc_dev.c b/svc_dev.c
index ab21211..5d19580 100644
--- a/svc_dev.c
+++ b/svc_dev.c
@@ -283,7 +283,7 @@ static bool svc_mkusage_each(void *svcptr, void *ignored)
         svc_scandev(svc, &ndev, mog_dev_mkusage);
 
         if (svc->queue && (svc->nmogdev != ndev))
-                mog_thrpool_update(svc->queue, svc->nmogdev, ndev);
+                mog_svc_thrpool_rescale(svc, ndev);
         svc->nmogdev = ndev;
 
         return true;