diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-06-21 03:34:21 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-06-25 21:27:53 +0000 |
commit | d5a52618ca1f9b5d7f6998716fbfe7714f927112 (patch) | |
tree | 927845365d19c847368b4f678e39697303802bf1 /svc_dev.c | |
parent | 03c2391078e19dc36ea62c75fa6745569b5cbef6 (diff) | |
download | cmogstored-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |