]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
SUNRPC: Improve ordering of transport processing
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 10 Oct 2017 21:31:43 +0000 (17:31 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 7 Nov 2017 21:44:03 +0000 (16:44 -0500)
commit22700f3c6df55387cec2ee27c533a7b23c76dc51
treee4a6cb0c188aa7d8b051e94f422a2bbdc4b673d0
parent95da1b3a5aded124dd1bda1e3cdb876184813140
SUNRPC: Improve ordering of transport processing

Since it can take a while before a specific thread gets scheduled, it
is better to just implement a first come first served queue mechanism.
That way, if a thread is already scheduled and is idle, it can pick up
the work to do from the queue.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/linux/sunrpc/svc.h
net/sunrpc/svc_xprt.c