diff options
| author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-05-27 12:59:33 -0400 |
|---|---|---|
| committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-06-13 12:35:51 -0400 |
| commit | f1dc237c60a5fdecc83062a28a702193f881cb19 (patch) | |
| tree | f4740ff8ad0c003333e78b0563ced90cd5f21077 /include/linux/sunrpc | |
| parent | 40a5f1b19bacb2de7a051be952dee85e38c9e5f5 (diff) | |
SUNRPC: Reduce latency when send queue is congested
Use the low latency transport workqueue to process the task that is
next in line on the xprt->sending queue.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'include/linux/sunrpc')
| -rw-r--r-- | include/linux/sunrpc/sched.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/sunrpc/sched.h b/include/linux/sunrpc/sched.h index ef780b3b5e31..817af0b4385e 100644 --- a/include/linux/sunrpc/sched.h +++ b/include/linux/sunrpc/sched.h | |||
| @@ -230,6 +230,10 @@ void rpc_wake_up_queued_task(struct rpc_wait_queue *, | |||
| 230 | struct rpc_task *); | 230 | struct rpc_task *); |
| 231 | void rpc_wake_up(struct rpc_wait_queue *); | 231 | void rpc_wake_up(struct rpc_wait_queue *); |
| 232 | struct rpc_task *rpc_wake_up_next(struct rpc_wait_queue *); | 232 | struct rpc_task *rpc_wake_up_next(struct rpc_wait_queue *); |
| 233 | struct rpc_task *rpc_wake_up_first_on_wq(struct workqueue_struct *wq, | ||
| 234 | struct rpc_wait_queue *, | ||
| 235 | bool (*)(struct rpc_task *, void *), | ||
| 236 | void *); | ||
| 233 | struct rpc_task *rpc_wake_up_first(struct rpc_wait_queue *, | 237 | struct rpc_task *rpc_wake_up_first(struct rpc_wait_queue *, |
| 234 | bool (*)(struct rpc_task *, void *), | 238 | bool (*)(struct rpc_task *, void *), |
| 235 | void *); | 239 | void *); |
