]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/cephfs: fix rst syntax in mantle.rst
authorJohn Spray <john.spray@redhat.com>
Fri, 4 Nov 2016 10:06:46 +0000 (10:06 +0000)
committerJohn Spray <john.spray@redhat.com>
Fri, 4 Nov 2016 13:07:29 +0000 (13:07 +0000)
Signed-off-by: John Spray <john.spray@redhat.com>
doc/cephfs/mantle.rst

index 21e7d7edcee530fe672d4a81fdc9a1d39370e676..3631614365e731dd50881b5c600b742e9c1030dd 100644 (file)
@@ -50,7 +50,7 @@ metadata load:
 
 
 Mantle with `vstart.sh`
-~~~~~~~~~~~~~~~~~~~~~
+~~~~~~~~~~~~~~~~~~~~~~~
 
 1. Start Ceph and tune the logging so we can see migrations happen:
 
@@ -115,7 +115,7 @@ Mantle with `vstart.sh`
 
 
 Output
-~~~~~
+~~~~~~
 
 Looking at the log for the first MDS (could be a, b, or c), we see that
 everyone has no load:
@@ -167,7 +167,7 @@ balancer. The balancer is stored in the RADOS metadata pool and a string in the
 MDSMap tells the MDSs which balancer to use.
 
 Exposing Metrics to Lua
-~~~~~~~~~~~~~~~~~~~~~~
+~~~~~~~~~~~~~~~~~~~~~~~
 
 Metrics are exposed directly to the Lua code as global variables instead of
 using a well-defined function signature. There is a global "mds" table, where
@@ -192,7 +192,7 @@ in mds_load_t: auth.meta_load(), all.meta_load(), req_rate, queue_length,
 cpu_load_avg.
 
 Compile/Execute the Balancer
-~~~~~~~~~~~~~~~~~~~~~~~~~~~
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 Here we use `lua_pcall` instead of `lua_call` because we want to handle errors
 in the MDBalancer. We do not want the error propagating up the call chain. The
@@ -204,7 +204,7 @@ The performance improvement of using `lua_call` over `lua_pcall` would not be
 leveraged here because the balancer is invoked every 10 seconds by default. 
 
 Returning Policy Decision to C++
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 We force the Lua policy engine to return a table of values, corresponding to
 the amount of load to send to each MDS. These loads are inserted directly into
@@ -239,7 +239,7 @@ does not support daemon-local fallbacks and the balancer assumes that all MDSs
 come to the same decision at the same time (e.g., importers, exporters, etc.).
 
 Debugging
-~~~~~~~~
+~~~~~~~~~
 
 Logging in a Lua policy will appear in the MDS log. The syntax is the same as
 the cls logging interface:
@@ -258,7 +258,7 @@ messages are only sent on version changes by the first MDS to avoid spamming
 the `ceph -w` utility. These messages are used for the integration tests.
 
 Testing
-~~~~~~
+~~~~~~~
 
 Testing is done with the ceph-qa-suite (tasks.cephfs.test_mantle). We do not
 test invalid balancer logging and loading the actual Lua VM.