1 Jul 2006 07:56
Re: [PATCH] CONFIG_NFSD_TCP actually impacts clients
Neil Brown <neilb <at> suse.de>
2006-07-01 05:56:15 GMT
2006-07-01 05:56:15 GMT
On Friday June 30, chucklever <at> gmail.com wrote: > Hi Chris- > > On 6/29/06, Chris Abbey <cablnx <at> us.ibm.com> wrote: > > -config NFSD_TCP > > - bool "Provide NFS server over TCP support" > > - depends on NFSD > > +config NFS_TCP > > + bool "Provide NFS services over TCP" > > There's been plenty of user confusion in the past about server versus > client TCP support, so I would prefer more precise wording here. This > new summary almost implies that the NFS client (not the lock manager) > is affected too. How about something more specific like: > > "Provide NFS and NLM server over TCP support" > > Also, the name of the config option might be confusing as well... > "NFS_" is usually reserved for client-only. I suggest NFSD_NLM_TCP. Another option would be to throw the option away altogether and default to always listen on TCP. We have patches that are about ----> <------ this far away from being sent to the next -mm which will make protocol selectable by rpc.nfsd. They don't affect what protocol lockd listens on, but that is a little awkward to manage because lockd does work for both the client and the server.... Maybe 'lockd_up' should take some sort of protocol flag and it should(Continue reading)







) which lists
the currently active versions.
Then we have a bitmap - nfsd_versbits which says which versions are
wanted. The bits in this bitset cause content to be copied from
nfsd_version to nfsd_versions when nfsd starts.
This patch removes nfsd_versbits and moves information directly from
nfsd_version to nfsd_versions when requests for version changes arrive.
Note that this doesn't make it possible to change versions while the
server is running. This is because serv->sv_xdrsize is calculated when
a service is created, and used then threads are created, and xdrsize
depends on the active versions.
Signed-off-by: Neil Brown <neilb <at> suse.de>
### Diffstat output
./fs/nfsd/nfsctl.c | 18 +++----
./fs/nfsd/nfssvc.c | 93 ++++++++++++++++++++++-------------------
./include/linux/nfsd/nfsd.h | 4 +
./include/linux/nfsd/syscall.h | 17 -------
4 files changed, 62 insertions(+), 70 deletions(-)
diff .prev/fs/nfsd/nfsctl.c ./fs/nfsd/nfsctl.c
--- .prev/fs/nfsd/nfsctl.c 2006-07-03 15:00:32.000000000 +1000
+++ ./fs/nfsd/nfsctl.c 2006-07-03 15:01:17.000000000 +1000
<at> <at> -35,8 +35,6 <at> <at>

RSS Feed