mbox series

[0/4] libceph: fix ceph_tcp_sendpage() more hinting

Message ID 20181123124020.4637-1-idryomov@gmail.com (mailing list archive)
Headers show
Series libceph: fix ceph_tcp_sendpage() more hinting | expand

Message

Ilya Dryomov Nov. 23, 2018, 12:40 p.m. UTC
Hello,

This series fixes the suboptimal behavior around ceph_tcp_sendpage()
that I noticed while tracking down skb_can_coalesce() vs usercopy bug.

Thanks,

                Ilya


Ilya Dryomov (4):
  libceph: drop last_piece logic from write_partial_message_data()
  libceph: use sock_no_sendpage() as a fallback in ceph_tcp_sendpage()
  libceph: use MSG_SENDPAGE_NOTLAST with ceph_tcp_sendpage()
  libceph: switch more to bool in ceph_tcp_sendmsg()

 net/ceph/messenger.c | 55 ++++++++++++++++++++--------------------------------
 1 file changed, 21 insertions(+), 34 deletions(-)