diff options
author | Tom Tucker <tom@opengridcomputing.com> | 2008-05-01 05:00:46 +0200 |
---|---|---|
committer | Tom Tucker <tom@opengridcomputing.com> | 2008-05-19 14:33:54 +0200 |
commit | 8da91ea8de873ee8be82377ff18637d05e882058 (patch) | |
tree | 9cfb692f27dde588a360a0f612b8ea14b04a76a4 /include | |
parent | svcrdma: Shrink scope of spinlock on RQ CQ (diff) | |
download | linux-8da91ea8de873ee8be82377ff18637d05e882058.tar.xz 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.h | 1 |
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 |