From e55c2a942389e593776dd3d6e1b98e8de2645232 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 28 Feb 2011 14:15:14 -0800 Subject: [PATCH] osd: handle osd_ping (and ack requests) while !active In particular, we may start getting ping requests before getting (or while processing) our first map that makes us go active. Signed-off-by: Sage Weil --- src/osd/OSD.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index 5550888875ea1..8c681c0fedb55 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -1427,12 +1427,6 @@ void OSD::handle_osd_ping(MOSDPing *m) { dout(20) << "handle_osd_ping from " << m->get_source() << " got stat " << m->peer_stat << dendl; - if (!is_active()) { - dout(10) << "handle_osd_ping - not active" << dendl; - m->put(); - return; - } - if (ceph_fsid_compare(&superblock.fsid, &m->fsid)) { dout(20) << "handle_osd_ping from " << m->get_source() << " bad fsid " << m->fsid << " != " << superblock.fsid << dendl; -- 2.39.5