summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wilkins <john.wilkins@inktank.com>2013-09-09 15:22:59 -0700
committerJohn Wilkins <john.wilkins@inktank.com>2013-09-09 15:22:59 -0700
commita6a714064e529846408d8f68ce72ab828f7ae85a (patch)
tree0a51fc744deadecceb8f4da27ebaa7a6c57dd03a
parentac609a4fe259204405bc13fb7d3909e8dccdd432 (diff)
downloadceph-a6a714064e529846408d8f68ce72ab828f7ae85a.tar.gz
doc: Syntax fixes to suppress gitbuilder warnings.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
-rw-r--r--doc/dev/corpus.rst72
1 files changed, 36 insertions, 36 deletions
diff --git a/doc/dev/corpus.rst b/doc/dev/corpus.rst
index 92f480a01a3..64f71c12fdf 100644
--- a/doc/dev/corpus.rst
+++ b/doc/dev/corpus.rst
@@ -22,71 +22,71 @@ We can generate an object corpus for a particular version of ceph like so.
#. Checkout a clean repo (best not to do this where you normally work)::
- git clone ceph.git
- cd ceph
- git submodule update --init
+ git clone ceph.git
+ cd ceph
+ git submodule update --init
#. Build with flag to dump objects to /tmp/foo::
- rm -rf /tmp/foo ; mkdir /tmp/foo
- ./do_autogen.sh -e /tmp/foo
- make
+ rm -rf /tmp/foo ; mkdir /tmp/foo
+ ./do_autogen.sh -e /tmp/foo
+ make
#. Start via vstart::
- cd src
- MON=3 OSD=3 MDS=3 RGW=1 ./vstart.sh -n -x
+ cd src
+ MON=3 OSD=3 MDS=3 RGW=1 ./vstart.sh -n -x
#. Use a much functionality of the cluster as you can, to exercise as many object encoder methods as possible::
- ./rados -p rbd bench 10 write -b 123
- ./ceph osd out 0
- ./init-ceph stop osd.1
- for f in ../qa/workunits/cls/*.sh ; do PATH=".:$PATH" $f ; done
- ../qa/workunits/rados/test.sh
- ./ceph_test_librbd
- ./ceph_test_libcephfs
- ./init-ceph restart mds.a
+ ./rados -p rbd bench 10 write -b 123
+ ./ceph osd out 0
+ ./init-ceph stop osd.1
+ for f in ../qa/workunits/cls/*.sh ; do PATH=".:$PATH" $f ; done
+ ../qa/workunits/rados/test.sh
+ ./ceph_test_librbd
+ ./ceph_test_libcephfs
+ ./init-ceph restart mds.a
Do some more stuff with rgw if you know how.
#. Stop::
- ./stop.sh
+ ./stop.sh
#. Import the corpus (this will take a few minutes)::
- test/encoding/import.sh /tmp/foo `./ceph-dencoder version` ../ceph-object-corpus/archive
- test/encoding/import-generated.sh ../ceph-object-corpus/archive
+ test/encoding/import.sh /tmp/foo `./ceph-dencoder version` ../ceph-object-corpus/archive
+ test/encoding/import-generated.sh ../ceph-object-corpus/archive
#. Prune it! There will be a bazillion copies of various objects, and we only want a representative sample.::
- pushd ../ceph-object-corpus
- bin/prune-archive.sh
- popd
+ pushd ../ceph-object-corpus
+ bin/prune-archive.sh
+ popd
#. Verify the tests pass::
- make check-local
+ make check-local
#. Commit it to the corpus repo and push::
- pushd ../ceph-object-corpus
- git checkout -b wip-new
- git add archive/`../src/ceph-dencoder version`
- git commit -m `../src/ceph-dencoder version`
- git remote add cc ceph.com:/git/ceph-object-corpus.git
- git push cc wip-new
- popd
+ pushd ../ceph-object-corpus
+ git checkout -b wip-new
+ git add archive/`../src/ceph-dencoder version`
+ git commit -m `../src/ceph-dencoder version`
+ git remote add cc ceph.com:/git/ceph-object-corpus.git
+ git push cc wip-new
+ popd
#. Go test it out::
- cd my/regular/tree
- cd ceph-object-corpus
- git fetch origin
- git checkout wip-new
- cd ../src
- make check-local
+ cd my/regular/tree
+ cd ceph-object-corpus
+ git fetch origin
+ git checkout wip-new
+ cd ../src
+ make check-local
#. If everything looks good, update the submodule master branch, and commit the submodule in ceph.git.