]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
libceph: isolate other message data fields
authorAlex Elder <elder@inktank.com>
Thu, 14 Feb 2013 18:16:43 +0000 (12:16 -0600)
committerGreg Farnum <greg@inktank.com>
Wed, 13 Mar 2013 00:45:09 +0000 (17:45 -0700)
commit0882bc93cf2f1f43dd079aa49acbb009a6c1afeb
treeea53a800010e5e8c2eece1344180b472e2a2b531
parenta58c6056619a45dd6ba14e6660b62fca347b5237
libceph: isolate other message data fields

Define ceph_msg_data_set_pagelist(), ceph_msg_data_set_bio(), and
ceph_msg_data_set_trail() to clearly abstract the assignment of the
remaining data-related fields in a ceph message structure.  Use the
new functions in the osd client and mds client.

This partially resolves:
    http://tracker.ceph.com/issues/4263

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