From: huanwen ren Date: Tue, 22 Nov 2016 12:10:51 +0000 (+0800) Subject: doc/mds: fixup "mds bal mode" Description X-Git-Tag: v11.1.0~193^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F12127%2Fhead;p=ceph.git doc/mds: fixup "mds bal mode" Description mds_load code is: switch(g_conf->mds_bal_mode) { case 0: return .8 * auth.meta_load() + .2 * all.meta_load() + req_rate + 10.0 * queue_len; case 1: return req_rate + 10.0*queue_len; case 2: return cpu_load_avg; } from Brett Niver Signed-off-by: huanwen ren --- diff --git a/doc/cephfs/mds-config-ref.rst b/doc/cephfs/mds-config-ref.rst index 60f17450ac4cb..99db8b1f83f4e 100644 --- a/doc/cephfs/mds-config-ref.rst +++ b/doc/cephfs/mds-config-ref.rst @@ -354,9 +354,9 @@ :Description: The method for calculating MDS load. - - ``1`` = Hybrid. - - ``2`` = Request rate and latency. - - ``3`` = CPU load. + - ``0`` = Hybrid. + - ``1`` = Request rate and latency. + - ``2`` = CPU load. :Type: 32-bit Integer :Default: ``0``