From: Sage Weil Date: Mon, 6 Jul 2009 19:08:35 +0000 (-0700) Subject: osd: no need for RMW flags in op reply X-Git-Tag: v0.10~78 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8ae6719909629e34ca56040bef61bb5230f8da08;p=ceph.git osd: no need for RMW flags in op reply In particular, they may not have even been calculated when we reply to the message. --- diff --git a/src/messages/MOSDOpReply.h b/src/messages/MOSDOpReply.h index b28c8368c337..55fa0e841cfb 100644 --- a/src/messages/MOSDOpReply.h +++ b/src/messages/MOSDOpReply.h @@ -67,7 +67,6 @@ public: head.client_inc = req->head.client_inc; ops = req->ops; head.result = result; - acktype |= req->get_rmw_flags(); head.flags = (req->head.flags & ~(CEPH_OSD_FLAG_ONDISK|CEPH_OSD_FLAG_ONNVRAM|CEPH_OSD_FLAG_ACK)) | acktype; oid = req->oid;