]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: do not reencode OSDMap on 'osd getmap'
authorSage Weil <sage@redhat.com>
Thu, 4 Dec 2014 23:53:26 +0000 (15:53 -0800)
committerSage Weil <sage@redhat.com>
Fri, 12 Dec 2014 19:08:40 +0000 (11:08 -0800)
commitf31135c1c878efa97c1224cf7c25f7e1d7e428ed
tree4ca87b3884bb4043bd7fd99fc3afa7cd9c512a11
parentb1f1381538d649db299042cc215499bcf717a412
mon/OSDMonitor: do not reencode OSDMap on 'osd getmap'

Return the bits unmolested.

This is a slight change in that we do not reencode based on the client's
features.  However, this is an admin command and the client is generally
the CLI or REST API.  It makes more sense to provide the unmolested
bits than to reencode them based on features present in a tool that
never inspects the map.

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/OSDMonitor.cc