Revert "rgw: fix handler leak in handle_request"

This reverts commit eba314a811cd98a79f483dc7a9128fe76c722c78.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
ReplicatedPG: fix snapdir trimming

The previous logic was both complicated and not correct.  Consequently,
we have been tending to drop snapcollection links in some cases.  This
has resulted in clones incorrectly not being trimmed.  This patch
replaces the logic with something less efficient but hopefully a bit
clearer.

Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
rados: add truncate support

Signed-off-by: Samuel Just <sam.just@inktank.com>
Revewed-by: Greg Farnum <greg@inktank.com>
Merge branch 'next'
doc: Normalized to term "drive" rather than disk. Changed "(Manual)" entry on remove OSD.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Added -a option. Should work without from server, as described.

fixes: #3750

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
messages: add MTimeCheck

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
mon: Monitor: add timecheck infrastructure to detect clock skews

Fixes: #3633
Fixes: #3695

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
mon: Monitor: reduce indentation level; make code more readable

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
mon: Monitor: move a couple of if's together on handle_command()

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
mon: Monitor: use 'else if' on handle_command instead of bunches of 'if'

... when the options are mutually exclusive.

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
mon: Monitor: unify 'ceph health' and 'ceph status'; add json output

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
Merge remote-tracking branch 'gh/wip-3633'

Reviewed-by: Sage Weil <sage@inktank.com>
Merge git://github.com/ceph/ceph