]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ceph: alloc message data pages and check if tid exists
authorYehuda Sadeh <yehuda@hq.newdream.net>
Mon, 11 Jan 2010 22:47:13 +0000 (14:47 -0800)
committerSage Weil <sage@newdream.net>
Mon, 25 Jan 2010 20:57:46 +0000 (12:57 -0800)
commit0547a9b30a5ac8680325752b61d3ffa9d4971b6e
tree0e54e227d44fab7b98c97ee4c3bed185a1238487
parent9d7f0f139edfdce1a1539b100c617fd9182b0829
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>
fs/ceph/messenger.c
fs/ceph/messenger.h
fs/ceph/mon_client.c
fs/ceph/osd_client.c