diff options
author | Yehuda Sadeh <yehuda@hq.newdream.net> | 2010-01-11 14:47:13 -0800 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-01-25 12:57:46 -0800 |
commit | 0547a9b30a5ac8680325752b61d3ffa9d4971b6e (patch) | |
tree | 0e54e227d44fab7b98c97ee4c3bed185a1238487 /fs/ceph/messenger.h | |
parent | 9d7f0f139edfdce1a1539b100c617fd9182b0829 (diff) | |
download | kernel_samsung_smdk4412-0547a9b30a5ac8680325752b61d3ffa9d4971b6e.zip kernel_samsung_smdk4412-0547a9b30a5ac8680325752b61d3ffa9d4971b6e.tar.gz kernel_samsung_smdk4412-0547a9b30a5ac8680325752b61d3ffa9d4971b6e.tar.bz2 |
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.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/ceph/messenger.h b/fs/ceph/messenger.h index b6bec59..dca2d32 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); |