SUNRPC: Set TCP_CORK until the transmit queue is empty
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 9 Feb 2021 21:04:15 +0000 (16:04 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 5 Apr 2021 13:04:20 +0000 (09:04 -0400)
commitd737e5d418706abf32f6de68c3e09958516d422f
tree91351c667049d5f571a9a9cad788a7f3f0123cd9
parent86438186a7b372728c74055d441549e17915cddb
SUNRPC: Set TCP_CORK until the transmit queue is empty

When we have multiple RPC requests queued up, it makes sense to set the
TCP_CORK option while the transmit queue is non-empty.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
include/linux/sunrpc/xprt.h
net/sunrpc/xprt.c
net/sunrpc/xprtsock.c