Document librados's rados_write's behaviour in reguards to return value.
Merge pull request #948 from dachary/wip-6736-1

mon: typo s/degrated/degraded/

Backport: emperor, dumpling
Merge pull request #944 from dachary/wip-6679

common: fix rare race condition in Throttle unit tests

Reviewed-by: Sage Weil <sage@inktank.com>
Merge pull request #945 from dachary/wip-6981

ceph-disk: zap needs at least one device

Reviewed-by: Sage Weil <sage@inktank.com>
Merge pull request #946 from dachary/wip-80-column

osd: format test_osd_types.cc to 80 columns
Merge pull request #924 from dachary/wip-erasure-doc

doc: update erasure code development doc
Merge pull request #937 from christian-marie/master

Document librados's rados_write's behaviour in reguards to return value.
Add -n option to mount.ceph.  Required by autofs when /etc/mtab is a link to /proc/mounts (e.g. Debian Wheezy), otherwise automounting a ceph file system fails.  Also useful when /etc is read-only.  feature 7006

Signed-off-by: Steve Stock <steve@technolope.org>
Merge pull request #942 from sstock/master

Add -n option to mount.ceph, feature 7006

Reviewed-by: Sage Weil <sage@inktank.com>
Merge pull request #943 from dachary/wip-formatter-newlines

common: fix perf_counters unittests for trailing newline in m_pretty
Merge pull request #716 from ceph/wip-formatter-newlines

common/Formatter: add newline to flushed output if m_pretty
mon: set ceph osd (down|out|in|rm) error code on failure

Instead of always returning true, the error code is set if at least one
operation fails.

EINVAL if the OSD id is invalid (osd.foobar for instance).
EBUSY if trying to remove and OSD that is up.

When used with the ceph command line, it looks like this:

    ceph -c ceph.conf osd rm osd.0
    Error EBUSY: osd.0 is still up; must be down before removal.
    kill PID_OF_osd.0
    ceph -c ceph.conf osd down osd.0
    marked down osd.0.
    ceph -c ceph.conf osd rm osd.0 osd.1
    Error EBUSY: removed osd.0, osd.1 is still up; must be down before removal.

http://tracker.ceph.com/issues/6824 fixes #6824

Signed-off-by: Loic Dachary <loic@dachary.org>
qa: silence cephtool tests cleanup

The file removal installed to be triggered when the script stops must
not fail if the file does not exist.

Signed-off-by: Loic Dachary <loic@dachary.org>
qa: add function name and line number to cephtool output

Signed-off-by: Loic Dachary <loic@dachary.org>
qa: make cephtool test imune to pool size

instead of assuming the pool size is 2, query it and increment it to
test for pool set data size. It allows to run the test from vstart.sh
without knowing what the required pool size is in advance:

    rm -fr dev out ;  mkdir -p dev ; \
     MON=1 OSD=3 ./vstart.sh -n -X -l mon osd

    LC_ALL=C PATH=:$PATH CEPH_CONF=ceph.conf \
      ../qa/workunits/cephtool/test.sh

Signed-off-by: Loic Dachary <loic@dachary.org>
qa: test for error when ceph osd rm is EBUSY

http://tracker.ceph.com/issues/6824 fixes #6824

Signed-off-by: Loic Dachary <loic@dachary.org>