public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* tmpfs, NFS, file handles
@ 2002-02-20 16:46 Peter J. Braam
  2002-02-20 16:56 ` Jeff Garzik
  0 siblings, 1 reply; 11+ messages in thread
From: Peter J. Braam @ 2002-02-20 16:46 UTC (permalink / raw)
  To: linux-kernel, linux-fsdevel; +Cc: phil

Hi, 

At present one can probably not run NFS (or InterMezzo) on top of
tmpfs.

Is there a suggested solution for fh_to_dentry and dentry_to_fh for
tmpfs?  

An "iget" based solution might work but at present tmpfs inodes are
not hashed.

Thanks for any suggestions!


^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: tmpfs, NFS, file handles
@ 2002-02-21 16:16 Lever, Charles
  2002-02-21 22:58 ` Neil Brown
  0 siblings, 1 reply; 11+ messages in thread
From: Lever, Charles @ 2002-02-21 16:16 UTC (permalink / raw)
  To: 'Neil Brown'
  Cc: Jeff Garzik, linux-kernel, linux-fsdevel, phil, Peter J. Braam

> That means you are only hashing inodes exported by NFS, and you have
> a pretty good guarantee of uniqueness (providing time doesn't go
> backwards).

this may be obvious... apologies.

don't use the TOD directly -- it can go backwards if ntpd or an admin
sets it back.  better to use a monotonically increasing number that
you completely control yourself.

also, if your timer resolution isn't good enough, a window opens 
where two generated "uniquifiers" can be the same for all intents
and purposes.

if there's nothing else we've learned from NFS, it's that using
timestamps is a lousy way of managing cache coherency and file
identity.  ;-)

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2002-02-24 21:57 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-20 16:46 tmpfs, NFS, file handles Peter J. Braam
2002-02-20 16:56 ` Jeff Garzik
2002-02-20 19:21   ` Peter J. Braam
2002-02-20 19:42     ` Trond Myklebust
2002-02-20 22:53     ` Neil Brown
2002-02-21  4:43       ` David Chow
2002-02-21  5:04         ` Neil Brown
     [not found]           ` <3C790FB2.50503@rcn.com.hk>
2002-02-24 21:49             ` Neil Brown
2002-02-21  7:40     ` Christoph Rohland
  -- strict thread matches above, loose matches on Subject: below --
2002-02-21 16:16 Lever, Charles
2002-02-21 22:58 ` Neil Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox