xprtrdma: Allocate missing pagelist
authorShirley Ma <shirley.ma@oracle.com>
Wed, 28 May 2014 14:34:24 +0000 (10:34 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 4 Jun 2014 12:56:49 +0000 (08:56 -0400)
commit196c69989d84ab902bbe545f7bd8ce78ee74dac4
tree0df67e1edb7853b3cf161685d19694a66ddc73ee
parent5bc4bc729275a0bfc2bfd04466e8ab7c85af2f6e
xprtrdma: Allocate missing pagelist

GETACL relies on transport layer to alloc memory for reply buffer.
However xprtrdma assumes that the reply buffer (pagelist) has been
pre-allocated in upper layer. This problem was reported by IOL OFA lab
test on PPC.

Signed-off-by: Shirley Ma <shirley.ma@oracle.com>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Tested-by: Edward Mossman <emossman@iol.unh.edu>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/rpc_rdma.c