SUNRPC: Queue latency-sensitive socket tasks to xprtiod
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 7 Feb 2018 14:13:04 +0000 (09:13 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 7 Feb 2018 14:25:52 +0000 (09:25 -0500)
commit2275cde4ccb319ae1eb1c6c717f0e547e62019ee
tree21cc3a457909badb0fbefae2e4c05290e89b336a
parent0c8cbcd337aeae013bb6230f13b77dde0735758f
SUNRPC: Queue latency-sensitive socket tasks to xprtiod

The response to a write_space notification is very latency sensitive,
so we should queue it to the lower latency xprtiod_workqueue. This
is something we already do for the other cases where an rpc task
holds the transport XPRT_LOCKED bitlock.

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