OSD::startup_time was added in
91c0df81, in which was added to provide
a monotomic increasing timestamp representing the startup time. but
later, we decided to keep track of this timestamp in PerShardState.
but we didn't remove OSD::startup_time when adding
PerShardState::get_mnow().
in this change, we remove the unused OSD::startup_time.
Signed-off-by: Kefu Chai <k.chai@proxmox.com>
cpu_cores.empty()) {
clog->info() << "for optimal performance please set crimson_cpu_set";
}
- startup_time = ceph::mono_clock::now();
+
ceph_assert(seastar::this_shard_id() == PRIMARY_CORE);
DEBUG("starting store");
uint32_t store_shards_num = co_await store.start();
//< since when there is no more pending pg creates from mon
epoch_t last_pg_create_epoch = 0;
- ceph::mono_time startup_time;
-
seastar::shared_mutex handle_osd_map_lock;
OSDSuperblock superblock;