Alex Elder a4ce40a9a7 libceph: combine initializing and setting osd data
This ends up being a rather large patch but what it's doing is
somewhat straightforward.

Basically, this is replacing two calls with one.  The first of the
two calls is initializing a struct ceph_osd_data with data (either a
page array, a page list, or a bio list); the second is setting an
osd request op so it associates that data with one of the op's
parameters.  In place of those two will be a single function that
initializes the op directly.

That means we sort of fan out a set of the needed functions:
    - extent ops with pages data
    - extent ops with pagelist data
    - extent ops with bio list data
and
    - class ops with page data for receiving a response

We also have define another one, but it's only used internally:
    - class ops with pagelist data for request parameters

Note that we *still* haven't gotten rid of the osd request's
r_data_in and r_data_out fields.  All the osd ops refer to them for
their data.  For now, these data fields are pointers assigned to the
appropriate r_data_* field when these new functions are called.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-05-01 21:18:23 -07:00
..
2013-04-05 19:29:36 -07:00
2013-04-09 18:03:25 +01:00
2013-02-21 15:27:22 -08:00
2013-04-05 21:02:17 +08:00
2013-02-27 19:10:15 -08:00
2013-02-27 19:10:15 -08:00
2013-03-01 13:39:00 -08:00
2013-03-27 09:25:11 -07:00
2013-04-19 17:57:48 -04:00
2013-02-27 19:10:18 -08:00
2013-02-26 09:34:29 -08:00
2013-04-07 15:11:27 +03:00
2013-02-27 19:10:18 -08:00
2013-04-05 10:04:41 -07:00
2013-04-26 07:59:23 -07:00
2013-02-27 19:10:19 -08:00
2013-04-10 15:57:33 -07:00
2013-02-22 23:31:31 -05:00
2013-02-21 13:57:13 -08:00