[Cluster-devel] Re: GFS2: Allow all meta/normal mount combinations

Christoph Hellwig hch at infradead.org
Mon Jun 8 16:12:13 UTC 2009


On Fri, Jun 05, 2009 at 03:17:43PM +0100, Steven Whitehouse wrote:
> > This is pretty ugly.  Even if this is how the old gfs2meta filesystem
> > worked I would prefer to only allow it if mounted as type gfs2meta, not
> > for normal gfs2 mount and gradually phase it out.
> > 
> Which bit is ugly? We need to be able to do this to be sure that we can
> get a metafs which exactly matches the "normal" fs without races I
> think. Thats a requirement of the userland tools, unfortunately.

Well, the block device from /proc/self/mounts really is a unique
key you can get.

If you really insist on using a path to a file make sure that normal
mounts only take the block device, and meta mounts only take the file.

But even with that it's not a very clear interface.




More information about the Cluster-devel mailing list