Re: [PATCH 5/6] rbd: num_ops parameter for rbd_osd_req_create()

2014-02-24 Thread Alex Elder
On 02/21/2014 12:55 PM, Ilya Dryomov wrote: > 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 ne

[PATCH 5/6] rbd: num_ops parameter for rbd_osd_req_create()

2014-02-21 Thread Ilya Dryomov
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 Dryom