commit | deb236b300cea3e7a114115571194b9872dbdfd1 | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <ilya.dryomov@inktank.com> | Tue Feb 25 16:22:27 2014 +0200 |
committer | Yan, Zheng <zheng.z.yan@intel.com> | Thu Apr 03 10:33:52 2014 +0800 |
tree | 8dddef5c49b6af5bacfc42959549b7181679b5db | |
parent | 7cc69d42e6950404587bef9489a5ed6f9f6bab4e [diff] |
rbd: num_ops parameter for rbd_osd_req_create() In preparation for prefixing rbd writes with an allocation hint introduce a num_ops parameter for rbd_osd_req_create(). The rationale is that not every write request is a write op that needs to be prefixed (e.g. watch op), so the num_ops logic needs to be in the callers. Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com> Reviewed-by: Alex Elder <elder@linaro.org>