RE: [PATCH] svcrdma: send_write() must not overflow the device's max sge

2014-07-15 Thread Devesh Sharma
ma@vger.kernel.org; linux-...@vger.kernel.org; t...@ogc.us > Subject: [PATCH] svcrdma: send_write() must not overflow the device's max > sge > > Function send_write() must stop creating sges when it reaches the device > max and return the amount sent in the RDMA Write to the

Re: [PATCH] svcrdma: send_write() must not overflow the device's max sge

2014-07-10 Thread J. Bruce Fields
On Wed, Jul 09, 2014 at 01:49:15PM -0500, Steve Wise wrote: > Function send_write() must stop creating sges when it reaches the device > max and return the amount sent in the RDMA Write to the caller. Queueing up for 3.17, thanks.--b. > > Signed-off-by: Steve Wise > --- > > net/sunrpc/xprtrdm

RE: [PATCH] svcrdma: send_write() must not overflow the device's max sge

2014-07-10 Thread Steve Wise
I tested this with nfsv3 and v4, over cxgb4 and mlx4: cthon04, iozone, fio, and xfs. No regressions seen... Steve. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majord

[PATCH] svcrdma: send_write() must not overflow the device's max sge

2014-07-09 Thread Steve Wise
Function send_write() must stop creating sges when it reaches the device max and return the amount sent in the RDMA Write to the caller. Signed-off-by: Steve Wise --- net/sunrpc/xprtrdma/svc_rdma_sendto.c | 39 + 1 files changed, 15 insertions(+), 24 deletions(