]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Improve latency for interactive tasks
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 9 Sep 2018 15:37:22 +0000 (11:37 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 30 Sep 2018 19:35:15 +0000 (15:35 -0400)
commitfab58f7c545885b5cd0d6e70a9bccfd727ad7a9b
treebf518a11df0b2fe4a73e2d38355e4be2c6e94563
parent2afa797c3d4f0c23ef10e76b62afb54af646d9ac
SUNRPC: Improve latency for interactive tasks

One of the intentions with the priority queues was to ensure that no
single process can hog the transport. The field task->tk_owner therefore
identifies the RPC call's origin, and is intended to allow the RPC layer
to organise queues for fairness.
This commit therefore modifies the transmit queue to group requests
by task->tk_owner, and ensures that we round robin among those groups.

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