MOSDBoot() : PaxosServiceMessage(){}
MOSDBoot(OSDSuperblock& s) :
- PaxosServiceMessage(MSG_OSD_BOOT, sb.current_epoch), sb(s) {
+ PaxosServiceMessage(MSG_OSD_BOOT, s.current_epoch), sb(s) {
}
const char *get_type_name() { return "osd_boot"; }
MOSDGetMap() : PaxosServiceMessage(CEPH_MSG_OSD_GETMAP, 0) {}
MOSDGetMap(ceph_fsid_t& f, epoch_t s=0) :
- PaxosServiceMessage(CEPH_MSG_OSD_GETMAP, start-1),
+ PaxosServiceMessage(CEPH_MSG_OSD_GETMAP, s-1),
fsid(f), start(s) { }
epoch_t get_start_epoch() { return start; }