summaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-11-01 16:44:05 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-12-06 00:30:51 +0100
commit1e1093c7fd4951bb4272212c238d09cd7a22f5fc (patch)
tree6a4abee1ee3a3e45fad908761cecd1e4a8a650e4 /net/sunrpc
parent104287cd4ebb5484c654551c102c25c94227f717 (diff)
downloadop-kernel-dev-1e1093c7fd4951bb4272212c238d09cd7a22f5fc.zip
op-kernel-dev-1e1093c7fd4951bb4272212c238d09cd7a22f5fc.tar.gz
NFSv4.1: Don't mess with task priorities in nfs41_setup_sequence
We want to preserve the rpc_task priority for things like writebacks, that may have differing levels of urgency. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc')
-rw-r--r--net/sunrpc/sched.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/sched.c b/net/sunrpc/sched.c
index 8529026..1aefc9f 100644
--- a/net/sunrpc/sched.c
+++ b/net/sunrpc/sched.c
@@ -379,6 +379,7 @@ void rpc_sleep_on_priority(struct rpc_wait_queue *q, struct rpc_task *task,
__rpc_sleep_on_priority(q, task, action, priority - RPC_PRIORITY_LOW);
spin_unlock_bh(&q->lock);
}
+EXPORT_SYMBOL_GPL(rpc_sleep_on_priority);
/**
* __rpc_do_wake_up_task - wake up a single rpc_task
OpenPOWER on IntegriCloud