commit | 878efabd3236abaedd0a4539bbb248ac69fed115 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Mon Mar 11 23:34:23 2013 -0500 |
committer | Sage Weil <sage@inktank.com> | Wed May 01 21:17:27 2013 -0700 |
tree | cbd6e9f6af2f756a26631e36e868fc4c5189992b | |
parent | 6518be47f910f62a98cb6044dbb457af55241f95 [diff] |
libceph: use cursor for inbound data pages The cursor code for a page array selects the right page, page offset, and length to use for a ceph_tcp_recvpage() call, so we can use it to replace a block in read_partial_message_pages(). This partially resolves: http://tracker.ceph.com/issues/4428 Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>