From: Alex Elder Date: Fri, 5 Apr 2013 19:46:02 +0000 (-0500) Subject: libceph: make method call data be a separate data item X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~26^2~109 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04017e29bbcf0673d8a6af616c56e395d05f5971;p=pandora-kernel.git libceph: make method call data be a separate data item Right now the data for a method call is specified via a pointer and length, and it's copied--along with the class and method name--into a pagelist data item to be sent to the osd. Instead, encode the data in a data item separate from the class and method names. This will allow large amounts of data to be supplied to methods without copying. Only rbd uses the class functionality right now, and when it really needs this it will probably need to use a page array rather than a page list. But this simple implementation demonstrates the functionality on the osd client, and that's enough for now. This resolves: http://tracker.ceph.com/issues/4104 Signed-off-by: Alex Elder Reviewed-by: Josh Durgin --- Reading git-diff-tree failed