Re: [PATCH v3 1/6] svcrdma: Do not send XDR roundup bytes for a write chunk

2015-12-13 Thread Chuck Lever
Hi Tom- > On Dec 12, 2015, at 10:14 PM, Tom Talpey wrote: > > Two small comments. > > On 12/7/2015 12:42 PM, Chuck Lever wrote: >> Minor optimization: when dealing with write chunk XDR roundup, do >> not post a Write WR for the zero bytes in the pad. Simply update >> the write segment in the R

Re: [PATCH v3 1/6] svcrdma: Do not send XDR roundup bytes for a write chunk

2015-12-12 Thread Tom Talpey
Two small comments. On 12/7/2015 12:42 PM, Chuck Lever wrote: Minor optimization: when dealing with write chunk XDR roundup, do not post a Write WR for the zero bytes in the pad. Simply update the write segment in the RPC-over-RDMA header to reflect the extra pad bytes. The Reply chunk is also

[PATCH v3 1/6] svcrdma: Do not send XDR roundup bytes for a write chunk

2015-12-07 Thread Chuck Lever
Minor optimization: when dealing with write chunk XDR roundup, do not post a Write WR for the zero bytes in the pad. Simply update the write segment in the RPC-over-RDMA header to reflect the extra pad bytes. The Reply chunk is also a write chunk, but the server does not use send_write_chunks() to