RPC/RDMA: harden connection logic against missing/late rdma_cm upcalls.
authorTom Talpey <talpey@netapp.com>
Thu, 9 Oct 2008 19:01:41 +0000 (15:01 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 10 Oct 2008 19:13:31 +0000 (15:13 -0400)
commit5675add36e76b9487e7f9e689f854cb8d6afd9b4
tree414b5e26b099c6aa42ee989925c0dfb8b717366e
parent1a954051b0cf79bd67e5f9db40333e3a9b1d05d2
RPC/RDMA: harden connection logic against missing/late rdma_cm upcalls.

Add defensive timeouts to wait_for_completion() calls in RDMA
address resolution, and make them interruptible. Fix the timeout
units to milliseconds (formerly jiffies) and move to private header.

Signed-off-by: Tom Talpey <talpey@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/sunrpc/xprtrdma.h
net/sunrpc/xprtrdma/verbs.c
net/sunrpc/xprtrdma/xprt_rdma.h