nfsv4 server patches and status
J. Bruce Fields
bfields at fieldses.org
Tue Jul 10 12:48:59 EDT 2007
On Tue, Jul 10, 2007 at 12:19:34PM -0400, Jeff Layton wrote:
> My other handwavy idea is to not build a new pseudo-root at all:
>
> When a directory is exported, check to see if it's "disconnected". If
> it is, backtrack dentries until we get to something that is exported
> (or the root). Tag those inodes/dentries with a flag that indicates
> that they are only to be used for LOOKUP calls. Fix up LOOKUP to
> recognize a dir that has been tagged this way. Only do lookups in it
> for entries that are valid exports or similarly tagged entries.
>
> there may certainly be holes in that approach as well...
You'd need to ensure that the kernel new about all the exports before
any client could do a LOOKUP; otherwise you might refuse to do a look up
that lead to a filesystem that you just hadn't yet learned was exported.
More information about the NFSv4
mailing list