libceph: record message data length
authorAlex Elder <elder@inktank.com>
Thu, 14 Mar 2013 19:09:06 +0000 (14:09 -0500)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:17:57 +0000 (21:17 -0700)
commita19308048182d5f9e16b03b1d1c038d9346c7589
tree1395d1027753afa2ab5caec1808385f3a68893be
parentfdce58ccb5df621695b079378c619046acabc778
libceph: record message data length

Keep track of the length of the data portion for a message in a
separate field in the ceph_msg structure.  This information has
been maintained in wire byte order in the message header, but
that's going to change soon.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
include/linux/ceph/messenger.h
net/ceph/messenger.c
net/ceph/osd_client.c