]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: fix syntax on code snippets in cephfs/multimds 15499/head
authorJohn Spray <john.spray@redhat.com>
Mon, 5 Jun 2017 19:46:06 +0000 (20:46 +0100)
committerJohn Spray <john.spray@redhat.com>
Mon, 5 Jun 2017 19:46:06 +0000 (20:46 +0100)
Signed-off-by: John Spray <john.spray@redhat.com>
doc/cephfs/multimds.rst

index 942a786d623d3d677ed382b7ae35d2d179cfb1e2..dd13d927c4b7bfe590b7e451f5d063304060a825 100644 (file)
@@ -122,6 +122,7 @@ extended attribute of directories. The name of this extended attribute is
 ``ceph.dir.pin``.  Users can set this attribute using standard commands:
 
 ::
+
     setfattr -n ceph.dir.pin -v 2 path/to/dir
 
 The value of the extended attribute is the rank to assign the directory subtree
@@ -133,9 +134,11 @@ children. However, the parents pin can be overriden by setting the child
 directory's export pin. For example:
 
 ::
+
     mkdir -p a/b
     # "a" and "a/b" both start without an export pin set
     setfattr -n ceph.dir.pin -v 1 a/
     # a and b are now pinned to rank 1
     setfattr -n ceph.dir.pin -v 0 a/b
     # a/b is now pinned to rank 0 and a/ and the rest of its children are still pinned to rank 1
+