SUNRPC: rpc_wake_up() should wake up tasks in the correct order
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 22 Oct 2020 21:40:33 +0000 (17:40 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 2 Dec 2020 19:05:51 +0000 (14:05 -0500)
commite4c72201b6ec3173dfe13fa2e2335a3ad78d4921
tree5e413522275e904d3f195c4432296c17111ba863
parent76998ebb91582812540f591f9e148daa0f08c76d
SUNRPC: rpc_wake_up() should wake up tasks in the correct order

Currently, we wake up the tasks by priority queue ordering, which means
that we ignore the batching that is supposed to help with QoS issues.

Fixes: c049f8ea9a0d ("SUNRPC: Remove the bh-safe lock requirement on the rpc_wait_queue->lock")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/sched.c