libceph: define and use ceph_tcp_recvpage()
authorAlex Elder <elder@inktank.com>
Sat, 9 Mar 2013 02:58:59 +0000 (20:58 -0600)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:16:51 +0000 (21:16 -0700)
commitafb3d90e205140415477d501ff9e2a33ff0b197f
tree2c32016324a858846cf4f1b7d6760195096f96e5
parent34d2d2006cc82fd21f716e10568b8c8b4ef61c0e
libceph: define and use ceph_tcp_recvpage()

Define a new function ceph_tcp_recvpage() that behaves in a way
comparable to ceph_tcp_sendpage().

Rearrange the code in both read_partial_message_pages() and
read_partial_message_bio() so they have matching structure,
(similar to what's in write_partial_msg_pages()), and use
this new function.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
net/ceph/messenger.c
This page took 0.035425 seconds and 5 git commands to generate.