]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit772542ee6c16a277b3d5b3a958b79161630a3b69
tree91351c667049d5f571a9a9cad788a7f3f0123cd9
parent574efb0afcc4b2e2c9ee71e70cd7145e03201e39
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