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>
Wed, 5 Dec 2012 23:30:53 +0000 (00:30 +0100)
commitc05eecf636101dd4347b2d8fa457626bf0088e0a
tree6362560cd66efedd12793552b124417e4fe68a74
parentb75ad4cda5a6cd3431b1c65c2739c5ebd2c4b9da
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