]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/mds: fixup "mds bal mode" Description 12127/head
authorhuanwen ren <rhwlyw@163.com>
Tue, 22 Nov 2016 12:10:51 +0000 (20:10 +0800)
committerGitHub <noreply@github.com>
Tue, 22 Nov 2016 12:10:51 +0000 (20:10 +0800)
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 <bniver@redhat.com>

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
doc/cephfs/mds-config-ref.rst

index 60f17450ac4cb2955491dfa8bc11e174ea9e89d3..99db8b1f83f4e6ca21b972f9bb7429365710ac7c 100644 (file)
 
 :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``