]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 20 Jan 2021 13:25:53 +0000 (14:25 +0100)
commite106db03af81a4f7ff0c74075c6a286a188bbe9c
treef37ecbf0da8858b91d4e9bf243efa5f869ead802
parent7627d030590aabe6a598d8c3e84dfa531282f6f5
SUNRPC: rpc_wake_up() should wake up tasks in the correct order

BugLink: https://bugs.launchpad.net/bugs/1910822
[ Upstream commit e4c72201b6ec3173dfe13fa2e2335a3ad78d4921 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
net/sunrpc/sched.c