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 <bniver@redhat.com> 

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
This commit is contained in:
huanwen ren 2016-11-22 20:10:51 +08:00 committed by GitHub
parent db32d6be7a
commit 3975b28b98

View File

@ -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``