Skip to content
Commit 3239eb52 authored by Ilya Dryomov's avatar Ilya Dryomov
Browse files

libceph: use sock_no_sendpage() as a fallback in ceph_tcp_sendpage()



sock_no_sendpage() makes the code cleaner.

Also, don't set MSG_EOR.  sendpage doesn't act on MSG_EOR on its own,
it just honors the setting from the preceding sendmsg call by looking
at ->eor in tcp_skb_can_collapse_to().

Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
parent 1f6b821a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment