]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG: don't copy the ops vector into OpContext
authorJosh Durgin <josh.durgin@inktank.com>
Fri, 7 Feb 2014 02:17:06 +0000 (18:17 -0800)
committerJosh Durgin <josh.durgin@inktank.com>
Tue, 18 Feb 2014 20:34:33 +0000 (12:34 -0800)
commit77436989078fa6261fe50ed80ff2df8f12fcaca7
treecae8eb17f2d91ac53999dff2750b07b09404f5ba
parente550ad79154ead3c276a2cdefc75ced02c43d4c4
ReplicatedPG: don't copy the ops vector into OpContext

There's no need to copy it, and if we refer to the same vector from
the original MOSDOp, we can modify rvals for individual ops, since the
MOSDOp ops vector is copied to the MOSDOpReply when it is constructed.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
src/osd/ReplicatedPG.h