]> git.karo-electronics.de Git - karo-tx-linux.git/commit
SUNRPC: Don't allow low priority tasks to pre-empt higher priority ones
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 1 Dec 2012 04:59:29 +0000 (23:59 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 2 Dec 2012 19:58:28 +0000 (14:58 -0500)
commit03d5fd7ff0d815d260fed2892fad0119d77c9b21
tree6362560cd66efedd12793552b124417e4fe68a74
parentd5ef5ff2b487d6b3128c2bff6a2f27266fd5a6c0
SUNRPC: Don't allow low priority tasks to pre-empt higher priority ones

Currently, the priority queues attempt to be 'fair' to lower priority
tasks by scheduling them after a certain number of higher priority tasks
have run. The problem is that both the transport send queue and
the NFSv4.1 session slot queue have strong ordering requirements.

This patch therefore removes the fairness code in favour of strong
ordering of task priorities.

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