diff options
author | Alex Elder | 2013-04-05 01:27:12 -0500 |
---|---|---|
committer | Sage Weil | 2013-05-01 21:18:19 -0700 |
commit | 5f562df5f59340eae4272501b974903f48d2ad92 (patch) | |
tree | 6dccede3254a6878526da788febbddd8eac27462 /net/sched/ematch.c | |
parent | 2169238dd3a01bc06670fb9c85635cbe97338ff8 (diff) |
libceph: format class info at init time
An object class method is formatted using a pagelist which contains
the class name, the method name, and the data concatenated into an
osd request's outbound data.
Currently when a class op is initialized in osd_req_op_cls_init(),
the lengths of and pointers to these three items are recorded.
Later, when the op is getting formatted into the request message, a
new pagelist is created and that is when these items get copied into
the pagelist.
This patch makes it so the pagelist to hold these items is created
when the op is initialized instead.
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'net/sched/ematch.c')
0 files changed, 0 insertions, 0 deletions