The reply shouldn't include the input payload, for the sake of efficiency.
This has the slightly annoying side-effect that the class name and method
are no longer visible in osd_op_reply messages. However, it does mean
that any data payload is not sent back to the client.
Signed-off-by: Sage Weil <sage@redhat.com>
retry_attempt = req->get_retry_attempt();
do_redirect = false;
- // zero out data?
- if (ignore_out_data) {
- for (unsigned i = 0; i < ops.size(); i++) {
+ for (unsigned i = 0; i < ops.size(); i++) {
+ // zero out input data
+ ops[i].indata.clear();
+ if (ignore_out_data) {
+ // original request didn't set the RETURNVEC flag
ops[i].outdata.clear();
}
}