From: xinxin shu Date: Sat, 11 Oct 2014 01:29:42 +0000 (+0800) Subject: return value of handle_message for MSG_OSD_SUBOP/MSG_OSD_SUBOPREPLY should be true X-Git-Tag: v0.88~67^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F2705%2Fhead;p=ceph.git return value of handle_message for MSG_OSD_SUBOP/MSG_OSD_SUBOPREPLY should be true if the return value is true , it will skip unnecessary checks Signed-off-by: xinxin shu --- diff --git a/src/osd/ReplicatedBackend.cc b/src/osd/ReplicatedBackend.cc index a98e9291e246..2940dc8dcd49 100644 --- a/src/osd/ReplicatedBackend.cc +++ b/src/osd/ReplicatedBackend.cc @@ -158,6 +158,7 @@ bool ReplicatedBackend::handle_message( } } else { sub_op_modify(op); + return true; } break; } @@ -174,6 +175,7 @@ bool ReplicatedBackend::handle_message( } } else { sub_op_modify_reply(op); + return true; } break; }