Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Mar 1996 11:29:18 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        brian@easy1.mediacity.com (Brian Litzinger)
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Does NFS Version 3 stuff work?
Message-ID:  <199603051829.LAA08730@phaeton.artisoft.com>
In-Reply-To: <199603050341.TAA14005@MediaCity.com> from "Brian Litzinger" at Mar 4, 96 07:41:29 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> Does the NFS Version 3 stuff work in -current?

In my opinion: yes, with the caveat that you should not be using
leases.

The lease problem is, I think, related to the cache issue re: vnodes
without associated inodes having their cache data flushed.  Under
heavy load, I believe leases would fail to do their job... in
particular, a high vnode recycle rate (such as from a "find" on
one or more clients) could cause a large race window.

See the "xfs" discussion for more details.

Obviously, I'd prefer the use of my FS patches as a whole, but there
*are* some NFS related patches that eliminate at least two races
that I know about combined with the nameifree reordering changes
in the code where I caused a forced seperation of the FS interface
abstraction from the underlying FS code.

Finally, there are some known issues with the cookie code; the
-hackers list archive of a discussion between myself and Doug
Rabson on directory iteration restart without use of the "cookie"
mechanism is applicable, if you want to work on resolving that.
The cookie code is one of the big differences between FreeBSD
and NetBSD implementations to get around the NFS wire vs. UFS
storage encoding differences for the directory entry iteration
interface used by the POSIX opendir/readdir/seekdir/telldir/closedir
interface.

The cookie issues are unrelated to the V3 code itself (except
as it uses the cookies blindly, but they are opaque at that
level), and the race conditions are issues with the underlying
FS that NFS is calling to export file systems (and that's more
a problem in the mount code and te recent "rename" race problems).


If you have a problem finding any of the information, let me
know; it will take me a while to get back to you on any request
that large, but I could, eventually.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603051829.LAA08730>