summaryrefslogtreecommitdiffstats
path: root/net/ceph/auth_none.h
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2013-04-05 08:27:12 +0200
committerSage Weil <sage@inktank.com>2013-05-02 06:18:19 +0200
commit5f562df5f59340eae4272501b974903f48d2ad92 (patch)
tree6dccede3254a6878526da788febbddd8eac27462 /net/ceph/auth_none.h
parentrbd: rearrange some code for consistency (diff)
downloadlinux-5f562df5f59340eae4272501b974903f48d2ad92.tar.xz
linux-5f562df5f59340eae4272501b974903f48d2ad92.zip
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/ceph/auth_none.h')
0 files changed, 0 insertions, 0 deletions