]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Objecter: keep ObjectOperation rval pointers for writes
authorJosh Durgin <josh.durgin@inktank.com>
Thu, 30 Jan 2014 14:55:29 +0000 (06:55 -0800)
committerJosh Durgin <josh.durgin@inktank.com>
Tue, 18 Feb 2014 20:34:31 +0000 (12:34 -0800)
commitabca34aa593e6a39f49c9c2883cb492280b1e250
tree0772025a6f04f450d1c844fa37dfc30b4cea374d
parentc5d3bdf7fa23990171024cc0a4480d50a3951f41
Objecter: keep ObjectOperation rval pointers for writes

Just before sending an op, prepare_mutate_op() is called, creating a
new Op. prepare_read_op() already copied over all the out-params
correctly, but for write operations the individual op return value
pointers were not copied, so they would not be filled in. With this
fixed, librados users can get the per-op return codes again.

Partially fixes: #6483
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
PendingReleaseNotes
src/osdc/Objecter.h