]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
msg/async: let client specify preferred order of modes
authorSage Weil <sage@redhat.com>
Wed, 6 Feb 2019 23:43:42 +0000 (17:43 -0600)
committerSage Weil <sage@redhat.com>
Thu, 7 Feb 2019 18:10:34 +0000 (12:10 -0600)
commiteaba5696fdecbbf0970aec0717ecd6dca9468f68
treec4ab466ea82299e1793354b2dd50c93cf370edce
parent91a888ecb46aae4119eb38214cc7b86c86aab6bc
msg/async: let client specify preferred order of modes

The server side has an allowed list, while the client has an ordered list
in order of preference.

Note that some of the options are used as both (e.g., cluster_modes) as they
are used at both connecting and accepting ends of the connection.

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/options.cc
src/msg/async/ProtocolV2.cc