]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
ceph: support multiple class method calls in one ceph_msg
authorDouglas Fuller <dfuller@redhat.com>
Fri, 17 Apr 2015 20:17:25 +0000 (13:17 -0700)
committerDouglas Fuller <dfuller@redhat.com>
Fri, 24 Apr 2015 13:13:32 +0000 (06:13 -0700)
commitef85a4b797a887417ffc2f26634584151ad359c3
tree57560e526f9c676c9ac8bcfe5a24f48fcdbdc974
parente7cd72ce9c3491e9914b037a2e3e7c4450ac6074
ceph: support multiple class method calls in one ceph_msg

Messages are received from the wire directly into destination buffers.
A short read could result in corruption of the following destination
buffers. Allocate a single message buffer for all class method calls
and split them at the osd_client level. This only applies to ceph_msgs
containing multiple op call and may break support for ceph_msgs
containing a mix of class method calls that return data and other ops.

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
include/linux/ceph/osd_client.h
net/ceph/messenger.c
net/ceph/osd_client.c