OpenCloudOS-Kernel/net/sunrpc/xprtrdma
Tejun Heo a25e758c5f sunrpc/xprtrdma: clean up workqueue usage
* Create and use svc_rdma_wq instead of using the system workqueue and
  flush_scheduled_work().  This workqueue is necessary to serve as
  flushing domain for rdma->sc_work which is used to destroy itself
  and thus can't be flushed explicitly.

* Replace cancel_delayed_work() + flush_scheduled_work() with
  cancel_delayed_work_sync().

* Implement synchronous connect in xprt_rdma_connect() using
  flush_delayed_work() on the rdma_connect work instead of using
  flush_scheduled_work().

This is to prepare for the deprecation and removal of
flush_scheduled_work().

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
2010-10-21 10:11:45 -04:00
..
Makefile rdma: makefile 2008-02-01 16:42:14 -05:00
rpc_rdma.c rpcrdma: Fix SQ size calculation when memreg is FRMR 2010-08-11 12:47:24 -04:00
svc_rdma.c sunrpc/xprtrdma: clean up workqueue usage 2010-10-21 10:11:45 -04:00
svc_rdma_marshal.c rdma: ONCRPC RDMA protocol marshalling 2008-02-01 16:42:14 -05:00
svc_rdma_recvfrom.c svcrdma: Cleanup DMA unmapping in error paths. 2010-10-18 19:51:32 -04:00
svc_rdma_sendto.c svcrdma: Cleanup DMA unmapping in error paths. 2010-10-18 19:51:32 -04:00
svc_rdma_transport.c sunrpc/xprtrdma: clean up workqueue usage 2010-10-21 10:11:45 -04:00
transport.c sunrpc/xprtrdma: clean up workqueue usage 2010-10-21 10:11:45 -04:00
verbs.c rpcrdma: Fix SQ size calculation when memreg is FRMR 2010-08-11 12:47:24 -04:00
xprt_rdma.h RPC/RDMA: harden connection logic against missing/late rdma_cm upcalls. 2008-10-10 15:13:31 -04:00