From c56b9967a33b8bb106d37df0cf6979b340dbf950 Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Wed, 24 Nov 2010 07:35:26 +0000 Subject: rpc-transport: don't merge payload iobuf and iobuf which holds program header into single iobref. - io-cache holds a reference on iobref passed from transport layer. Hence, two iobufs are accounted instead of one in calculated used cache size. Signed-off-by: Raghavendra G Signed-off-by: Anand V. Avati BUG: 2135 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2135 --- rpc/rpc-transport/rdma/src/rdma.h | 1 + 1 file changed, 1 insertion(+) (limited to 'rpc/rpc-transport/rdma/src/rdma.h') diff --git a/rpc/rpc-transport/rdma/src/rdma.h b/rpc/rpc-transport/rdma/src/rdma.h index e24ce76cc..dbd15d668 100644 --- a/rpc/rpc-transport/rdma/src/rdma.h +++ b/rpc/rpc-transport/rdma/src/rdma.h @@ -264,6 +264,7 @@ struct __rdma_post_context { struct iovec vector[MAX_IOVEC]; int count; struct iobref *iobref; + struct iobuf *hdr_iobuf; char is_request; int rdma_reads; rdma_reply_info_t *reply_info; -- cgit