Following are a set of 5 patches against 2.5.66 which provide the
initial ground-work for NFS-over-IPv6 support. Please keep in mind, NFS
still will not work over IPv6 until comparable support is made available
in the applicable user-space libraries, daemons and utilities
(glibc/sunrpc, nfs-utils, etc.) which I will be working on in the coming
weeks. Consequently, the IPv6-specific code in these patches have not
been thoroughly tested (IPv4-specific code was, see below), so I expect
to discover bugs once these user-space bits are ready for testing.
Basically, this set of patches is the first step at getting IPv6 support
for the entire NFS stack.
All patches should be used together with the exception of the last, i.e.
5/5 or linux-2.5.66-NFS_IPv6_Kconfig.dif, which allows for the kernel
config parameter CONFIG_NFS_IPV6. This is a pre-processor #ifdef that
is used to surround code and data structures used to interact with the
above mentioned user-space code. Until such user-space NFS-over-IPv6
support is added, it may be better to not include this patch so users
won't see the option when configuring the kernel and assume such support
is available, enable the option and complain when NFS doesn't work
anymore. Opinions on that?
The patches were applied to a stock 2.5.66 kernel on RH8.0 and were
regression tested with Connectathon '03 and fsx tests with default
options (tcp also) over an IPv4 network to verify nothing had broken.
The patched kernel was also instrumented with the gcov-2.5.66 code
coverage tool to verify as much as possible of the patched code was
exercised.
Note, this patch set doesn't provide IPv6 support for nfsroot.
btw while testing the patches, two bugs were discovered, one while
running fsx and the other while running Connectathon '03 over NFSv2.
Both were found to also exist on stock 2.5.66 and I am not sure whether
they have been reported or being investigated - I'll look into these
further.
Any comments/questions/discussion?
--
Bruce Allan
Linux Technology Center
IBM Corporation, Beaverton OR
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. http://www.etnus.com
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs