]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
SUNRPC: Use MSG_SENDPAGE_NOTLAST in xs_send_pagedata()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 6 Oct 2015 19:59:20 +0000 (15:59 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 8 Oct 2015 13:12:35 +0000 (09:12 -0400)
commit31303d6cbb24ba94e8b82170213bd2fde6365d9a
treee0fc66713ba0f5571bc48a13b382c11903074d76
parenta26480942c99d84a7682ea4c00f47a3a42ed41d2
SUNRPC: Use MSG_SENDPAGE_NOTLAST in xs_send_pagedata()

If we're sending more than one page via kernel_sendpage(), then set
MSG_SENDPAGE_NOTLAST between the pages so that we don't send suboptimal
frames (see commit 2f5338442425 and commit 35f9c09fe9c7).

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
net/sunrpc/xprtsock.c