]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
OSDMap: note encoding features in Incremental encoding
authorSage Weil <sage@inktank.com>
Thu, 30 Jan 2014 23:09:58 +0000 (15:09 -0800)
committerSage Weil <sage@inktank.com>
Thu, 30 Jan 2014 23:09:58 +0000 (15:09 -0800)
commitb9208b47745fdd53d36b682bebfc01e913347092
treece71291ee7afd622563996a879efe5712321e351
parentab649919f2cfb91cc50ba70d0d2ea16270ef935f
OSDMap: note encoding features in Incremental encoding

The monitor will need to know what features the incremental was encoded
with so that it can encode the OSDMap using the same bits.  Introduce a
member that is set during decode.  During encode, encoding the value passed
in by the caller.

Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/OSDMap.cc
src/osd/OSDMap.h