From: Chuck Lever Date: Tue, 29 Jul 2014 21:23:34 +0000 (-0400) Subject: xprtrdma: Limit data payload size for ALLPHYSICAL X-Git-Tag: cleanup-for-v3.18~41^2~24^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43e95988178ed70a878a5be6be9ad248342dbf7d;p=pandora-kernel.git xprtrdma: Limit data payload size for ALLPHYSICAL When the client uses physical memory registration, each page in the payload gets its own array entry in the RPC/RDMA header's chunk list. Therefore, don't advertise a maximum payload size that would require more array entries than can fit in the RPC buffer where RPC/RDMA headers are built. BugLink: https://bugzilla.linux-nfs.org/show_bug.cgi?id=248 Signed-off-by: Chuck Lever Tested-by: Steve Wise Tested-by: Shirley Ma Tested-by: Devesh Sharma Signed-off-by: Anna Schumaker --- Reading git-diff-tree failed