]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
ceph: support multiple class method calls in one ceph_msg historic/wip-osd-op-cls-chain
authorDouglas Fuller <dfuller@redhat.com>
Fri, 17 Apr 2015 20:17:25 +0000 (13:17 -0700)
committerDouglas Fuller <douglas.fuller@gmail.com>
Thu, 23 Apr 2015 18:14:55 +0000 (11:14 -0700)
commite1c36ea6a73d7c517eb96ad437567cda4de971b8
tree4bcebb323b5e33b9f688b05db942b60ea4ae06d1
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