nvmet-tcp: set MSG_SENDPAGE_NOTLAST with MSG_MORE when we have more to send
authorSagi Grimberg <sagi@grimberg.me>
Tue, 5 May 2020 05:20:02 +0000 (22:20 -0700)
committerChristoph Hellwig <hch@lst.de>
Wed, 27 May 2020 05:12:37 +0000 (07:12 +0200)
commit4eea804364628c30facd99c30499b2b01c6272c6
treec9214fbd0e2a7259e6d7479f52a9b914e0bd32bf
parent5bb052d7aad1f4063631f2aa05452c700139f0f3
nvmet-tcp: set MSG_SENDPAGE_NOTLAST with MSG_MORE when we have more to send

We can signal the stack that this is not the last page coming and the
stack can build a larger tso segment, so go ahead and use it.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/tcp.c