[RFC,PATCH 0/4] Dynamic Pseudo Root
J. Bruce Fields
bfields at fieldses.org
Mon Dec 10 10:51:26 EST 2007
On Mon, Dec 10, 2007 at 10:46:23AM -0500, J. Bruce Fields wrote:
> On Mon, Dec 10, 2007 at 08:56:25AM -0600, Tom Haynes wrote:
> > Steve Dickson wrote:
> > > Brent Callaghan wrote:
> > >
> > >> On Dec 8, 2007, at 6:36 AM, Steve Dickson wrote:
> > >>
> > >>>
> > >>> So can I assume that Solaris does pump all the exports to a table
> > >>> in the kernel?
> > >>>
> > >> Yes, BSD and MacOSX do it that way too. Though I can also see some
> > >> advantages in having exports discovered on the fly.
> > >>
> > > I kinda like the approach of building the in-kernel export cache
> > > as the exports are accessed. Why pump ton of data into the kernel
> > > that may or may not be used?
> > >
> >
> >
> > What happens when the server reboots, comes back up, and clients start
> > presenting valid FHs
> > to the server?
> >
> > How do you detect the need to load the export vs ESTALE?
>
> We extract the part of the filehandle that identifies the filesystem and
> pass that up to mountd, which figures out what the corresponding export
> is.
>
> > Does the FH have the mount point stored in it somehow?
>
> If I remember correctly, the filehandle includes the inode number of the
> export's root directory to handle the case where that's not the root of
> the filehandle.
^^^^^^^^^^
Um, I meant "filesystem".
--b.
More information about the NFSv4
mailing list