aboutsummaryrefslogtreecommitdiffstats
path: root/net/rds/rds.h
diff options
context:
space:
mode:
authorAndy Grover <andy.grover@oracle.com>2010-01-12 17:13:15 -0500
committerAndy Grover <andy.grover@oracle.com>2010-09-08 21:11:38 -0400
commitff87e97a9d70c9ae133d3d3d7792b26ab85f4297 (patch)
tree32de73cdf5e4353e89b3351eaae695f69faa868b /net/rds/rds.h
parent21f79afa5fda2820671a8f64c3d0e43bb118053b (diff)
RDS: make m_rdma_op a member of rds_message
This eliminates a separate memory alloc, although it is now necessary to add an "r_active" flag, since it is no longer to use the m_rdma_op pointer as an indicator of if an rdma op is present. rdma SGs allocated from rm sg pool. rds_rm_size also gets bigger. It's a little inefficient to run through CMSGs twice, but it makes later steps a lot smoother. Signed-off-by: Andy Grover <andy.grover@oracle.com>
Diffstat (limited to 'net/rds/rds.h')
-rw-r--r--net/rds/rds.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rds/rds.h b/net/rds/rds.h
index 7c4adbe8c284..0bb4957e0cfc 100644
--- a/net/rds/rds.h
+++ b/net/rds/rds.h
@@ -316,7 +316,7 @@ struct rds_message {
316 rds_rdma_cookie_t m_rdma_cookie; 316 rds_rdma_cookie_t m_rdma_cookie;
317 struct { 317 struct {
318 struct { 318 struct {
319 struct rds_rdma_op *m_rdma_op; 319 struct rds_rdma_op m_rdma_op;
320 struct rds_mr *m_rdma_mr; 320 struct rds_mr *m_rdma_mr;
321 } rdma; 321 } rdma;
322 struct { 322 struct {