svc: Add a max payload value to the transport
authorTom Tucker <tom@opengridcomputing.com>
Mon, 31 Dec 2007 03:07:21 +0000 (21:07 -0600)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 1 Feb 2008 21:42:08 +0000 (16:42 -0500)
commit490231558e058547da4ffab6d8ce8e28771749cc
treeaac2eef69dbd262a755ee1cafec34787faf5d2f0
parent9f29868b491beee706931e0cf875a60cb4688754
svc: Add a max payload value to the transport

The svc_max_payload function currently looks at the socket type
to determine the max payload. Add a max payload value to svc_xprt_class
so it can be returned directly.

Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
Acked-by: Neil Brown <neilb@suse.de>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Greg Banks <gnb@sgi.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
include/linux/sunrpc/svc_xprt.h
net/sunrpc/svc.c
net/sunrpc/svcsock.c