aboutsummaryrefslogtreecommitdiff
path: root/fs/ceph/messenger.h
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@hq.newdream.net>2010-01-11 14:47:13 -0800
committerSage Weil <sage@newdream.net>2010-01-25 12:57:46 -0800
commit0547a9b30a5ac8680325752b61d3ffa9d4971b6e (patch)
tree0e54e227d44fab7b98c97ee4c3bed185a1238487 /fs/ceph/messenger.h
parent9d7f0f139edfdce1a1539b100c617fd9182b0829 (diff)
ceph: alloc message data pages and check if tid exists
Now doing it in the same callback that is also responsible for allocating the 'front' part of the message. If we get a message that we haven't got a corresponding tid for, mark it for skipping. Moving the mutex unlock/lock from the osd alloc_msg callback to the calling function in the messenger. Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Diffstat (limited to 'fs/ceph/messenger.h')
-rw-r--r--fs/ceph/messenger.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/ceph/messenger.h b/fs/ceph/messenger.h
index b6bec59056d..dca2d32b40d 100644
--- a/fs/ceph/messenger.h
+++ b/fs/ceph/messenger.h
@@ -46,10 +46,6 @@ struct ceph_connection_operations {
struct ceph_msg * (*alloc_msg) (struct ceph_connection *con,
struct ceph_msg_header *hdr,
int *skip);
- /* an incoming message has a data payload; tell me what pages I
- * should read the data into. */
- int (*prepare_pages) (struct ceph_connection *con, struct ceph_msg *m,
- int want);
};
extern const char *ceph_name_type_str(int t);