diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2017-02-07 11:58:56 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2017-02-08 14:42:00 -0500 |
commit | a3ab867fa64f9aedb3b01d570db5b43d2fc355fc (patch) | |
tree | 24e6d9003d89386554b55a1fe540a2c779f4e92a /include/linux/sunrpc | |
parent | aba7d14ba18c93a2ab37d50b057a885964ef285c (diff) |
svcrdma: Combine list fields in struct svc_rdma_op_ctxt
Clean up: The free list and the dto_q list fields are never used at
the same time. Reduce the size of struct svc_rdma_op_ctxt by
combining these fields.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r-- | include/linux/sunrpc/svc_rdma.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/sunrpc/svc_rdma.h b/include/linux/sunrpc/svc_rdma.h index f77a7bc1612c..b105f73e3ca2 100644 --- a/include/linux/sunrpc/svc_rdma.h +++ b/include/linux/sunrpc/svc_rdma.h | |||
@@ -70,7 +70,7 @@ extern atomic_t rdma_stat_sq_prod; | |||
70 | * completes. | 70 | * completes. |
71 | */ | 71 | */ |
72 | struct svc_rdma_op_ctxt { | 72 | struct svc_rdma_op_ctxt { |
73 | struct list_head free; | 73 | struct list_head list; |
74 | struct svc_rdma_op_ctxt *read_hdr; | 74 | struct svc_rdma_op_ctxt *read_hdr; |
75 | struct svc_rdma_fastreg_mr *frmr; | 75 | struct svc_rdma_fastreg_mr *frmr; |
76 | int hdr_count; | 76 | int hdr_count; |
@@ -78,7 +78,6 @@ struct svc_rdma_op_ctxt { | |||
78 | struct ib_cqe cqe; | 78 | struct ib_cqe cqe; |
79 | struct ib_cqe reg_cqe; | 79 | struct ib_cqe reg_cqe; |
80 | struct ib_cqe inv_cqe; | 80 | struct ib_cqe inv_cqe; |
81 | struct list_head dto_q; | ||
82 | u32 byte_len; | 81 | u32 byte_len; |
83 | u32 position; | 82 | u32 position; |
84 | struct svcxprt_rdma *xprt; | 83 | struct svcxprt_rdma *xprt; |