]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: discriminate based on connection messenger, not peer type
authorSage Weil <sage@inktank.com>
Mon, 26 Aug 2013 20:58:47 +0000 (13:58 -0700)
committerSage Weil <sage@inktank.com>
Fri, 30 Aug 2013 23:54:32 +0000 (16:54 -0700)
commita6b04c5d8ba043727a2e39a62e9d4126485bcfeb
treee076559129c29e6d7e0140f8eec40acfa61f80a0
parent20b25c6f65c4420340c9944d0dccd81db0f37635
osd: discriminate based on connection messenger, not peer type

Replace ->get_source().is_osd() checks and instead see if it is the
cluster_messenger so that we do not confuse ourselves when we get
legit requests from other OSDs on our public interface.

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