OSDN Git Service

SUNRPC: Avoid RPC delays when exiting suspend
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 5 Nov 2019 14:10:54 +0000 (09:10 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 6 Nov 2019 13:55:02 +0000 (08:55 -0500)
commit66eb3add452aa1be65ad536da99fac4b8f620b74
tree58223b52a8711409d7b056cc6fc5d818243120e6
parent43622eab8d0adedbb06380a355b941289d495f57
SUNRPC: Avoid RPC delays when exiting suspend

Jon Hunter: "I have been tracking down another suspend/NFS related
issue where again I am seeing random delays exiting suspend. The delays
can be up to a couple minutes in the worst case and this is causing a
suspend test we have to fail."

Change the use of a deferrable work to a standard delayed one.

Reported-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Fixes: 7e0a0e38fcfea ("SUNRPC: Replace the queue timer with a delayed work function")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/sched.c