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.
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>
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>
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>
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>
mon: status: only include mdsmap if epoch > 1

Signed-off-by: Sage Weil <sage@inktank.com>
mon/PGMap: make pg state indentation cleaner

Signed-off-by: Sage Weil <sage@inktank.com>
osd_types: add osd_perf_stat_t type

Signed-off-by: Samuel Just <sam.just@inktank.com>
doc: Added dumpling installation for Debian/Ubuntu.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Minor tweaks to debian install.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Added dumpling to RPM installation.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
librados: fix locking for AioCompletionImpl refcounting

Add an already-locked helper so that C_Aio{Safe,Complete} can
increment the reference count when their caller holds the
lock. C_AioCompleteAndSafe's caller is not holding the lock, so call
regular get() to ensure no racing updates can occur.

This eliminates all direct manipulations of AioCompletionImpl->ref,
and makes the necessary locking clear.

The only place C_AioCompleteAndSafe is used is in handling
aio_flush_async(). This could cause a missing completion.

Refs: #5919
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Tested-by: Oliver Francke <Oliver.Francke@filoo.de>