# Re: \[PATCH net-next v4 03/15\] ceph: Use sendmsg(MSG\_SPLICE\_PAGES) rather than sendpage

- From: David Howells \<dhowells@redhat.com\>
- Date: 2023-06-23 19:44:46 
- List: netdev
- Page: https://ratatoskr.run/netdev/2023/06/2244533
- Thread: https://ratatoskr.run/netdev/2023/06/2244004/t.md

```text
Jakub Kicinski [ref] wrote:

> >  		if (length == cursor->total_resid)
> > -			more = MSG_MORE;
> > -		ret = ceph_tcp_sendpage(con->sock, page, page_offset, length,
> > -					more);
> > +			msghdr.msg_flags |= MSG_MORE;
> 
> Should the condition also be flipped here, like you did below?
> (can be a follow up if so)

Yeah - the "==" in the if-statement needs flipping to "!=".  I can send a
follow-up patch for it or respin if you prefer.

David

```
