summaryrefslogtreecommitdiff
path: root/include/linux/unaligned
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2013-04-04 02:32:51 (GMT)
committerSage Weil <sage@inktank.com>2013-05-02 04:18:11 (GMT)
commit430c28c3cb7f3dbd87de266ed52d65928957ff78 (patch)
tree2c4ff48be065ffb4a0d5fe9daec1ce18cae570e0 /include/linux/unaligned
parent87060c1089a94f89590fc0606b5178f5556833f0 (diff)
downloadlinux-fsl-qoriq-430c28c3cb7f3dbd87de266ed52d65928957ff78.tar.xz
rbd: define rbd_osd_req_format_op()
Define rbd_osd_req_format_op(), which encapsulates formatting an osd op into an object request's osd request message. Only one op is supported right now. Stop calling ceph_osdc_build_request() in rbd_osd_req_create(). Instead, call rbd_osd_req_format_op() in each of the callers of rbd_osd_req_create(). This is to prepare for the next patch, in which the source ops for an osd request will be held in the osd request itself. Because of that, we won't have the source op to work with until after the request is created, so we can't format the op until then. This an the next patch resolve: http://tracker.ceph.com/issues/4656 Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'include/linux/unaligned')
0 files changed, 0 insertions, 0 deletions