xprtrdma: Enable pad optimization
authorChuck Lever <chuck.lever@oracle.com>
Sun, 9 Nov 2014 01:14:53 +0000 (20:14 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 25 Nov 2014 18:39:20 +0000 (13:39 -0500)
commitd5440e27d3e572272db957d6b9661a902b7c339f
treed5dd22a5eebfc88aa324d2e93ba30ecbf5a33099
parent5c166bef4fa138da45d756dc77a8cb29fced1714
xprtrdma: Enable pad optimization

The Linux NFS/RDMA server used to reject NFSv3 WRITE requests when
pad optimization was enabled. That bug was fixed by commit
e560e3b510d2 ("svcrdma: Add zero padding if the client doesn't send
it").

We can now enable pad optimization on the client, which helps
performance and is supported now by both Linux and Solaris servers.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/transport.c