]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: new osd_peer_stat_t shell type
authorSage Weil <sage@newdream.net>
Mon, 13 Feb 2012 17:42:37 +0000 (09:42 -0800)
committerSage Weil <sage@newdream.net>
Mon, 13 Feb 2012 17:42:37 +0000 (09:42 -0800)
commit4dfa4dc27d2bc4791492fabe7da65ef56b9b658d
tree4ac3d766f7eb2cdd8780548bb6db6ad08b98b743
parent1f351cdbe9925ec9cd3742ee26d6284594e033de
osd: new osd_peer_stat_t shell type

We weren't using this, and it had broken (raw) encoding.  The constructor
also didn't initialize fields properly.

Clear out the struct and use the new encoding scheme, so we can cleanly
add fields moving forward.

Signed-off-by: Sage Weil <sage@newdream.net>
src/osd/osd_types.cc
src/osd/osd_types.h