diff options
author | NeilBrown <neilb@suse.de> | 2022-03-07 00:41:44 +0100 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-03-13 17:59:35 +0100 |
commit | a80a8461868905823609be97f91776a26befe839 (patch) | |
tree | a13a68e25b6b7fb3b8e505ab330539691a84a473 /fs/adfs | |
parent | SUNRPC/xprt: async tasks mustn't block waiting for memory (diff) | |
download | linux-a80a8461868905823609be97f91776a26befe839.tar.xz linux-a80a8461868905823609be97f91776a26befe839.zip |
SUNRPC: remove scheduling boost for "SWAPPER" tasks.
Currently, tasks marked as "swapper" tasks get put to the front of
non-priority rpc_queues, and are sorted earlier than non-swapper tasks on
the transport's ->xmit_queue.
This is pointless as currently *all* tasks for a mount that has swap
enabled on *any* file are marked as "swapper" tasks. So the net result
is that the non-priority rpc_queues are reverse-ordered (LIFO).
This scheduling boost is not necessary to avoid deadlocks, and hurts
fairness, so remove it. If there were a need to expedite some requests,
the tk_priority mechanism is a more appropriate tool.
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/adfs')
0 files changed, 0 insertions, 0 deletions