From 3975b28b98b7cefd458606ebf03d4cc1ad12cd7c Mon Sep 17 00:00:00 2001 From: huanwen ren Date: Tue, 22 Nov 2016 20:10:51 +0800 Subject: [PATCH] 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 --- doc/cephfs/mds-config-ref.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/cephfs/mds-config-ref.rst b/doc/cephfs/mds-config-ref.rst index 60f17450ac4c..99db8b1f83f4 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`` -- 2.47.3