summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTom Tucker <tom@opengridcomputing.com>2008-04-30 22:00:46 -0500
committerTom Tucker <tom@opengridcomputing.com>2008-05-19 07:33:54 -0500
commit8da91ea8de873ee8be82377ff18637d05e882058 (patch)
tree9cfb692f27dde588a360a0f612b8ea14b04a76a4 /include
parent47698e083e40bbd3ef87f5561390ae33abb13cd0 (diff)
downloadblackbird-op-linux-8da91ea8de873ee8be82377ff18637d05e882058.tar.gz
blackbird-op-linux-8da91ea8de873ee8be82377ff18637d05e882058.zip
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')
-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 {
struct list_head sc_dto_q; /* DTO tasklet I/O pending Q */
struct list_head sc_read_complete_q;
spinlock_t sc_read_complete_lock;
+ struct work_struct sc_work;
};
/* sc_flags */
#define RDMAXPRT_RQ_PENDING 1
OpenPOWER on IntegriCloud