From: Sage Weil Date: Thu, 12 Jan 2012 23:43:43 +0000 (-0800) Subject: osd: include return code in OSDOp X-Git-Tag: v0.41~27^2~20 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4f4b79cc7a183cf02d14727749de909b82d1b42f;p=ceph.git osd: include return code in OSDOp This will expose the per-operation return values to the caller. Signed-off-by: Sage Weil --- diff --git a/src/osd/osd_types.h b/src/osd/osd_types.h index acc66e27e6521..3bbe64762dfc5 100644 --- a/src/osd/osd_types.h +++ b/src/osd/osd_types.h @@ -1302,10 +1302,12 @@ WRITE_CLASS_ENCODER(ScrubMap) struct OSDOp { ceph_osd_op op; - bufferlist indata, outdata; sobject_t soid; - OSDOp() { + bufferlist indata, outdata; + int32_t rval; + + OSDOp() : rval(0) { memset(&op, 0, sizeof(ceph_osd_op)); } };