]> err.no Git - linux-2.6/commit
SUNRPC: rpc_timeout_upcall_queue should not sleep
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 1 Feb 2006 17:18:44 +0000 (12:18 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 1 Feb 2006 17:52:24 +0000 (12:52 -0500)
commit9842ef3557abf5ec2fd92bfa6e29ce0e271b3f6e
tree03c5059d866eb40956fe01094d9bc1b811d9c4f0
parent8a3177604b729ec3b80e43790ee978863ac7551b
SUNRPC: rpc_timeout_upcall_queue should not sleep

 The function rpc_timeout_upcall_queue runs from a workqueue, and hence
 sleeping is not recommended. Convert the protection of the upcall queue
 from being mutex-based to being spinlock-based.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/rpc_pipe.c