Adding new Wireshark dissector. This is loosely based on the original
dissector, it has been re-worked to bring into line with Wireshark
coding guidelines that aim to ensure portability. It currently only
decodes a handful of messages as test cases, it needs more work to make
it useful. See README.txt for a bit more background.
ant is missing from the list of packages to install

to build the documentation.

Signed-off-by: Loic Dachary <loic@dachary.org>
Fix compilation -Wmismatched-tags warnings

Keep consistency in the code to not generate warnings of this type.

Signed-off-by: Christophe Courtaut <christophe.courtaut@gmail.com>
config_opts.h: reduce osd_recovery_max_active and osd_recovery_max_single_start

Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: David Zafman <david.zafman@inktank.com>
ceph-disk: fix mount options passed to move_mount

Commit 6cbe0f021f62b3ebd5f68fcc01a12fde6f08cff5 added a mount_options but
in certain cases it may be blank.  Fill in with the defaults, just as we
do in mount().

Backport: cuttlefish
Reviewed-by: Dan Mick <dan.mick@inktank.com>
Signed-off-by: Sage Weil <sage@inktank.com>
mon: mon_cluster_log_file_level

By popular demand, control the min level of logging that goes to
/var/lib/ceph/ceph.log.

Signed-off-by: Sage Weil <sage@inktank.com>
doc: complete S3 features status from existing doc page

Signed-off-by: Christophe Courtaut <christophe.courtaut@gmail.com>
rgw: fix multi delete

Fixes: #5931
Backport: bobtail, cuttlefish

Fix a bad check, where we compare the wrong field. Instead of
comparing the ret code to 0, we compare the string value to 0
which generates implicit casting, hence the crash.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
tools: ceph-monstore-tool: allow copying store contents to a new location

Usage:

ceph-monstore-tool --mon-store-path <in-path> --out <out-path> \
                   --command store-copy

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
v0.67
rgw: do not leak handler in get_handler() error path

If we fail to initialize, delete the handler.

Fixes (part of): #5949
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
librados: fix MWatchNotify leak

Do not leak the message if the watcher is not registered.  Also, simplify
this block.

Fixes (part of): #5949
Backport: dumpling, cuttlefish
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
osdmap: move oneliner summary to separate function

We're about to make print_summary() do something much nicer.

Signed-off-by: Sage Weil <sage@inktank.com>
mon: expand osd summary (flags on separate line)

Signed-off-by: Sage Weil <sage@inktank.com>
mon/PGMap: break out print_oneline_summary

Signed-off-by: Sage Weil <sage@inktank.com>
types: pretty_si_t

Similar to si_t, but leaves a space between the numbers and the units.  In
the degenerate case (no M, K, etc. modifier) there's simply a trailing
space.  For example,

  out << pretty_si_t(num) << "objects/sec";

will look pretty.

Signed-off-by: Sage Weil <sage@inktank.com>
mon: make pg info in 'status' more informative and visually parseable

Signed-off-by: Sage Weil <sage@inktank.com>
mon/PGMap: make si modifiers look prettier

Signed-off-by: Sage Weil <sage@inktank.com>
mon: move mdsmap up

Signed-off-by: Sage Weil <sage@inktank.com>
mon: move recovery rate to a separate line

Signed-off-by: Sage Weil <sage@inktank.com>