]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] knfsd: Prepare knfsd for support of rsize/wsize of up to 1MB, over TCP
authorGreg Banks <gnb@melbourne.sgi.com>
Wed, 4 Oct 2006 09:15:47 +0000 (02:15 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 4 Oct 2006 14:55:16 +0000 (07:55 -0700)
commit7adae489fe794e3e203ff168595f635d0b845e59
treef20544b72bdaea7cff0d340b5b4e5bfcaf2ce8fb
parent3cc03b164cf01c6f36e64720b58610d292fb26f7
[PATCH] knfsd: Prepare knfsd for support of rsize/wsize of up to 1MB, over TCP

The limit over UDP remains at 32K.  Also, make some of the apparently
arbitrary sizing constants clearer.

The biggest change here involves replacing NFSSVC_MAXBLKSIZE by a function of
the rqstp.  This allows it to be different for different protocols (udp/tcp)
and also allows it to depend on the servers declared sv_bufsiz.

Note that we don't actually increase sv_bufsz for nfs yet.  That comes next.

Signed-off-by: Greg Banks <gnb@melbourne.sgi.com>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/nfsd/nfs3proc.c
fs/nfsd/nfs3xdr.c
fs/nfsd/nfs4xdr.c
fs/nfsd/nfsproc.c
fs/nfsd/nfsxdr.c
include/linux/nfsd/const.h
include/linux/sunrpc/auth.h
include/linux/sunrpc/msg_prot.h
include/linux/sunrpc/svc.h
include/linux/sunrpc/xprt.h
net/sunrpc/svc.c