aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc/svc_rdma.h
diff options
context:
space:
mode:
authorTom Tucker <tom@opengridcomputing.com>2008-04-30 23:00:46 -0400
committerTom Tucker <tom@opengridcomputing.com>2008-05-19 08:33:54 -0400
commit8da91ea8de873ee8be82377ff18637d05e882058 (patch)
tree9cfb692f27dde588a360a0f612b8ea14b04a76a4 /include/linux/sunrpc/svc_rdma.h
parent47698e083e40bbd3ef87f5561390ae33abb13cd0 (diff)
svcrdma: Move destroy to kernel thread
Some providers may wait while destroying adapter resources. Since it is possible that the last reference is put on the dto_tasklet, the actual destroy must be scheduled as a work item. Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
Diffstat (limited to 'include/linux/sunrpc/svc_rdma.h')
-rw-r--r--include/linux/sunrpc/svc_rdma.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sunrpc/svc_rdma.h b/include/linux/sunrpc/svc_rdma.h
index 701439064d21..f5f15ae2438b 100644
--- a/include/linux/sunrpc/svc_rdma.h
+++ b/include/linux/sunrpc/svc_rdma.h
@@ -124,6 +124,7 @@ struct svcxprt_rdma {
124 struct list_head sc_dto_q; /* DTO tasklet I/O pending Q */ 124 struct list_head sc_dto_q; /* DTO tasklet I/O pending Q */
125 struct list_head sc_read_complete_q; 125 struct list_head sc_read_complete_q;
126 spinlock_t sc_read_complete_lock; 126 spinlock_t sc_read_complete_lock;
127 struct work_struct sc_work;
127}; 128};
128/* sc_flags */ 129/* sc_flags */
129#define RDMAXPRT_RQ_PENDING 1 130#define RDMAXPRT_RQ_PENDING 1