libceph: move r_reply_op_{len,result} into struct ceph_osd_req_op
This avoids defining large array of r_reply_op_{len,result} in
in struct ceph_osd_request.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
This commit is contained in:
@@ -1854,7 +1854,7 @@ static void rbd_osd_req_callback(struct ceph_osd_request *osd_req,
|
||||
* passed to the block layer, which just supports a 32-bit
|
||||
* length field.
|
||||
*/
|
||||
obj_request->xferred = osd_req->r_reply_op_len[0];
|
||||
obj_request->xferred = osd_req->r_ops[0].outdata_len;
|
||||
rbd_assert(obj_request->xferred < (u64)UINT_MAX);
|
||||
|
||||
opcode = osd_req->r_ops[0].op;
|
||||
|
||||
Reference in New Issue
Block a user