Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 1995 18:01:14 -0700
From:      David Greenman <davidg@Root.COM>
To:        "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com>
Cc:        terry@lambert.org, current@freebsd.org
Subject:   Re: Potentially serious NFS problem 
Message-ID:  <199509130101.SAA00136@corbin.Root.COM>
In-Reply-To: Your message of "Tue, 12 Sep 95 09:58:33 PDT." <199509121658.JAA03776@GndRsh.aac.dev.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>While your in there poking around see if why when you kill -1 mountd
>on the server if a client is doing I/O at that time it causes an
>error to be returned and causes what ever was running to die.
>
>This is a sick bug, it makes FreeBSD unsutable for production NFS
>server applications as adding or removing or changing the /etc/exports
>file and hupping mountd is a quite standard procedure.

   It's caused by the need to replace the kernel export list whenever a change
is made to the exports file. While the kernel export list is being rebuilt,
there is a window where NFS I/O will fail if the appropriate entry hasn't yet
been restored. I think the main reason the code is written this way has to do
with the way the table is ordered, but I may be mistaken. It's a design flaw
that might not be easily fixed. I've known about this for about 6 months, but
I seem to never get enough of a break to do anything about it.

-DG



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