doc: Added documenting Ceph to the toc tree.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Added Documenting Ceph (draft) document.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: add-or-rm-mons.rst: better explanation on number of monitors

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
doc: Adding more information on style and usage for documenting Ceph.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Incorporated feedback.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
mds: Add encode/decode/dump for use with dencoder

This is for the MDSTable subclasses: AnchorServer,
SnapServer, InoTable.  AnchorServer was partially there
but didn't work in practice dumped objects because of
the version prefix on the object.

This adds a skip argument to ceph-dencoder for getting
past fixed size prefixes.  The encode_server_state method
is also made const to avoid the need for const_casting (and
because it really is const)

Signed-off-by: John Spray <john.spray@inktank.com>
mds: Remove some unused #defines

Signed-off-by: John Spray <john.spray@inktank.com>
mds/CDir: Remove a few lines of cruft

Signed-off-by: John Spray <john.spray@inktank.com>
mds: Don't create the /.ceph directory

This was entirely unused.  On existing filesystems
it will live on, on new ones it will never be created.

Signed-off-by: John Spray <john.spray@inktank.com>
mds: Table read failure should log at error level

Signed-off-by: John Spray <john.spray@inktank.com>
mon/MDSMonitor: Cope with failures during creation

Previously an MDS which failed in state CREATING could be
assigned the sequence BOOT->STANDBY->REPLAY at its next
startup, which fails to re-try the creation.

Fixes: #7485

Signed-off-by: John Spray <john.spray@inktank.com>
packaging: add missing file

Signed-off-by: huangjun <hjwsm1989@gmail.com>
Reviewed-by: Ken Dreyer <ken.dreyer@inktank.com>
packaging: match all test files

It's tedious to try to keep the list of test files up to date in the RPM
spec file. Use a wildcard to match them all.

Reported-by: huangjun <hjwsm1989@gmail.com>
Signed-off-by: Ken Dreyer <ken.dreyer@inktank.com>
os/ObjectStore: document interface

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
Merge pull request #1290 from ceph/wip-os-doc

os/ObjectStore: document interface
Merge remote-tracking branch 'gh/firefly'
README: add build dep

Technically it's a 'make check' dep, but close enough.

Signed-off-by: Sage Weil <sage@inktank.com>
os/ObjectStore: fix rebase errors

These were goofed by d74f1282cd268b4b04cfd9e90ddeac6d1dc6be7e.

Signed-off-by: Sage Weil <sage@inktank.com>
Merge pull request #1265 from ceph/wip-mds-misc

MDS misc. cleanup

Reviewed-by: Sage Weil <sage@inktank.com>
Merge pull request #1287 from kdreyer-inktank/redhat-files

packaging: file list adjustments

Tested-by: Huang Jun <hjwsm1989@gmail.com>