aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ceph
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2013-04-05 15:46:01 -0400
committerSage Weil <sage@inktank.com>2013-05-02 00:18:34 -0400
commit90af36022aecdeeb1b9c0755461187de717c86dd (patch)
tree275c653789249a7499165cb36ddb608b5b4bc6df /include/linux/ceph
parentca8b3a69174b04376722672d7dd6b666a7f17c50 (diff)
libceph: add, don't set data for a message
Change the names of the functions that put data on a pagelist to reflect that we're adding to whatever's already there rather than just setting it to the one thing. Currently only one data item is ever added to a message, but that's about to change. This resolves: http://tracker.ceph.com/issues/2770 Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'include/linux/ceph')
-rw-r--r--include/linux/ceph/messenger.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/ceph/messenger.h b/include/linux/ceph/messenger.h
index de1d2e1ecce2..7c1420bb1dce 100644
--- a/include/linux/ceph/messenger.h
+++ b/include/linux/ceph/messenger.h
@@ -275,12 +275,12 @@ extern void ceph_msg_revoke_incoming(struct ceph_msg *msg);
275 275
276extern void ceph_con_keepalive(struct ceph_connection *con); 276extern void ceph_con_keepalive(struct ceph_connection *con);
277 277
278extern void ceph_msg_data_set_pages(struct ceph_msg *msg, struct page **pages, 278extern void ceph_msg_data_add_pages(struct ceph_msg *msg, struct page **pages,
279 size_t length, size_t alignment); 279 size_t length, size_t alignment);
280extern void ceph_msg_data_set_pagelist(struct ceph_msg *msg, 280extern void ceph_msg_data_add_pagelist(struct ceph_msg *msg,
281 struct ceph_pagelist *pagelist); 281 struct ceph_pagelist *pagelist);
282#ifdef CONFIG_BLOCK 282#ifdef CONFIG_BLOCK
283extern void ceph_msg_data_set_bio(struct ceph_msg *msg, struct bio *bio, 283extern void ceph_msg_data_add_bio(struct ceph_msg *msg, struct bio *bio,
284 size_t length); 284 size_t length);
285#endif /* CONFIG_BLOCK */ 285#endif /* CONFIG_BLOCK */
286 286