Date: Fri, 15 Oct 2004 16:26:48 +0100 From: David Malone <dwmalone@maths.tcd.ie> To: Peter Edwards <peadar.edwards@gmail.com> Cc: Oliver Fromme <olli@lurza.secnetix.de> Subject: Re: NFS + VM question Message-ID: <200410151626.aa06400@salmon.maths.tcd.ie> In-Reply-To: Your message of "Fri, 15 Oct 2004 15:23:33 BST." <34cb7c840410150723733bca5a@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > Since the server could actually hand out different content depending > > on the mount instance, I don't think the NFS client could make these > > assumptions. > Maybe I'm missing something, but I'm not convinced that's true. > NFS is "file-handle" centric: there's no real concept of a "mount > point" at the server: the mount operation just gives you a handle to > the root directory, so if the two mounts from a server give the same > file handles to a client, then the results should be consistent. Yep - I guess you're right - I was thinking that the mountd could be evil and hand out different file handles for the root directory after each mount. If the caching was hung off the file handle and identity of the client&server, then you could probably cache this sort of thing safely. David.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410151626.aa06400>