OSDN Git Service

SUNRPC: Replace the queue timer with a delayed work function
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 1 May 2019 14:49:27 +0000 (10:49 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 6 Jul 2019 18:54:48 +0000 (14:54 -0400)
commit7e0a0e38fcfea47e74b0ff6da6266f00bcd2af43
tree7128a333d8563e59c542b7a7725c7bf0928080b8
parent44942b4e457beda00981f616402a1a791e8c616e
SUNRPC: Replace the queue timer with a delayed work function

The queue timer function, which walks the RPC queue in order to locate
candidates for waking up is one of the current constraints against
removing the bh-safe queue spin locks. Replace it with a delayed
work queue, so that we can do the actual rpc task wake ups from an
ordinary process context.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
include/linux/sunrpc/sched.h
net/sunrpc/sched.c