PG: add a requeue_op() function to complement requeue_ops().

Signed-off-by: Greg Farnum <greg@inktank.com>
ReplicatedPG: copy: conditionally requeue copy ops when cancelled

We may need to requeue copy ops which are cancelled as part of an acting
set change but don't change the primary. To support this, add a
"requeue" flag to cancel_copy_ops() and copy_ops(), as well as to
CopyResults. The CopyCallback is then responsible for requeuing (the
higher layers can't do so as they can't know which request actually
triggered the copy).

Signed-off-by: Greg Farnum <greg@inktank.com>
Merge pull request #746 from ceph/wip-6582

Wip 6582

Reviewed-by: Sage Weil <sage@inktank.com>
common: get_command_descriptions use cout instead of dout

Using dout instead of cout creates noise and makes it more difficult for
people trying to debug a failure in test_ceph_argparse.py.

The output of get_command_descriptions is modified to only contain
parseable information and the code parsing its output
test_ceph_argparse.py is removed.

Signed-off-by: Loic Dachary <loic@dachary.org>
autoconf: fix typo on AM_COMMON_CFLAGS

Signed-off-by: Loic Dachary <loic@dachary.org>
Merge pull request #748 from dachary/master

autoconf: fix typo on AM_COMMON_CFLAGS
Merge remote-tracking branch 'gh/next'
Merge pull request #747 from dachary/wip-commands

common: get_command_descriptions use cout instead of dout

Reviewed-by: Sage Weil <sage@inktank.com>
Merge git://github.com/ceph/ceph