commit | 3239eb5215ebdef593a79316c9dbbdf8849166ec | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <idryomov@gmail.com> | Fri Nov 16 11:58:19 2018 +0100 |
committer | Ilya Dryomov <idryomov@gmail.com> | Wed Dec 26 15:56:04 2018 +0100 |
tree | f76919e91cc7fcc004eac6a4c9364c110338e3c5 | |
parent | 1f6b821aef78e3d79e8d598ae59fc7e23fb6c563 [diff] |
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: Ilya Dryomov <idryomov@gmail.com>