]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: no need for RMW flags in op reply
authorSage Weil <sage@newdream.net>
Mon, 6 Jul 2009 19:08:35 +0000 (12:08 -0700)
committerSage Weil <sage@newdream.net>
Mon, 6 Jul 2009 19:08:35 +0000 (12:08 -0700)
In particular, they may not have even been calculated when we reply to
the message.

src/messages/MOSDOpReply.h

index b28c8368c337ab35462fa5508a5c11664ccbb048..55fa0e841cfbd457acba0f020e0ef5563b7d4364 100644 (file)
@@ -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;