OSDN Git Service

SUNRPC: Use MSG_SENDPAGE_NOTLAST when calling sendpage()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 7 Oct 2015 17:54:42 +0000 (13:54 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 23 Oct 2015 19:57:27 +0000 (15:57 -0400)
commit226453d8cfbd5f3bbdcef0d71e67186715bb811d
tree8044b0b48d6c9872ef7f4aee1129bad75b3ac8aa
parent0ad95472bf169a3501991f8f33f5147f792a8116
SUNRPC: Use MSG_SENDPAGE_NOTLAST when calling sendpage()

If we're sending more pages via kernel_sendpage(), then set
MSG_SENDPAGE_NOTLAST.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/svcsock.c
net/sunrpc/xprtsock.c