Fix #6483
closedosd: does not fill in OSDOp::rval member
0%
Description
We provide an interface via the Objecter (and librados) for getting the return code of specific ops within a compound operation. Right now, the OSD never fills those in, so they're always set to zero!
This is often appropriate, since most operations fail as soon as one of the individual Ops fail. However, some can be marked as okay to fail, and sometimes we can desire the individual return values (containing, eg, the amount of data read).
A (very small) patch that probably solves the problem is in wip-rval, but before merging we of course need to add tests to detect this problem, and make sure we haven't broken anything else.
Updated by Josh Durgin about 10 years ago
- Status changed from New to Fix Under Review
- Assignee set to Josh Durgin
Updated by Josh Durgin about 10 years ago
- Status changed from Fix Under Review to 7
Running this through the rados suite. It's in wip-librados-op-rvals, which is on top of https://github.com/ceph/ceph/pull/1195.
Updated by Josh Durgin over 9 years ago
- Status changed from 7 to Resolved