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