Re: [PATCH V6 4/9] svcrdma: Use max_sge_rd for destination read depths

2015-07-26 Thread Christoph Hellwig
On Sun, Jul 26, 2015 at 12:58:59PM +0300, Sagi Grimberg wrote: > >With the above patch change, we have no more users of the recently created > >rdma_cap_read_multi_sge(). Should I add a patch to remove it? > > Yes please. And in the long run this is another argument for killing the system-wide

Re: [PATCH V6 4/9] svcrdma: Use max_sge_rd for destination read depths

2015-07-26 Thread Sagi Grimberg
@@ -1059,6 +1062,7 @@ static struct svc_xprt *svc_rdma_accept(struct svc_xprt *xprt) ntohs(((struct sockaddr_in *)&newxprt->sc_cm_id-> route.addr.dst_addr)->sin_port), newxprt->sc_max_sge, + newxprt->sc_max_sge_rd,

RE: [PATCH V6 4/9] svcrdma: Use max_sge_rd for destination read depths

2015-07-24 Thread Steve Wise
gt; r...@mellanox.com; linux-rdma@vger.kernel.org; > e...@mellanox.com; target-de...@vger.kernel.org; linux-...@vger.kernel.org; > bfie...@fieldses.org > Subject: [PATCH V6 4/9] svcrdma: Use max_sge_rd for destination read depths > > Signed-off-by: Steve Wise > --- > > in

[PATCH V6 4/9] svcrdma: Use max_sge_rd for destination read depths

2015-07-24 Thread Steve Wise
Signed-off-by: Steve Wise --- include/linux/sunrpc/svc_rdma.h |1 + net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 12 +--- net/sunrpc/xprtrdma/svc_rdma_transport.c |4 3 files changed, 6 insertions(+), 11 deletions(-) diff --git a/include/linux/sunrpc/svc_rdma.h b/i