]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedPG: factor out simple_repop_{create,submit} helpers
authorSage Weil <sage@inktank.com>
Fri, 4 Oct 2013 23:07:20 +0000 (16:07 -0700)
committerSage Weil <sage@inktank.com>
Fri, 6 Dec 2013 22:37:26 +0000 (14:37 -0800)
commit0b9874cd022a66ff03284ea9da5da81981bb44a3
treec116f9f632573f36b16401bf49f1f2a215b66c1f
parent9776e97af2d72fd62a278fa8fa04367895eb015b
osd/ReplicatedPG: factor out simple_repop_{create,submit} helpers

This makes it easier to create repops correctly, and should help
prevent bugs like the one we remove here in process_copy_op (we were
serializing on the wrong object!)

Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Greg Farnum <greg@inktank.com>
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h