linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Lustre & special file ops
@ 2003-03-18  3:30 Peter Braam
  0 siblings, 0 replies; only message in thread
From: Peter Braam @ 2003-03-18  3:30 UTC (permalink / raw)
  To: linux-fsdevel

Hi, 

Lustre is a cluster file system that has a client server architecture.
When a client opens a file, the server sees an open call.  This is
done so that the server can take care to handle open-unlinked files
correctly across cluster nodes.  For regular and directory files this
is fairly straightforward.

We also want to handle open-unlinked special files correctly, since
operations like fchmod and fstat on different cluster nodes issued on
file descriptors associated with open special files still require
synchronization through the server.

This requires non-standard open/close methods on the special files.
So we would like Lustre to roughly do something like:

ll_special_open(struct inode *inode, struct  file *file)
{
  1. do what init_special_inode installs
  2. do open RPC on the metadata server
} 

Is there an elegant, simple way to accomplish this? 

Thanks for any help!

- Peter -

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-03-18  3:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-18  3:30 Lustre & special file ops Peter Braam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).