From: Al Viro <viro@ftp.linux.org.uk>
To: Steven Whitehouse <steve@chygwyn.com>
Cc: Phillip Susi <psusi@cfl.rr.com>,
Christoph Hellwig <hch@infradead.org>,
Steven Whitehouse <swhiteho@redhat.com>,
Andrew Morton <akpm@osdl.org>,
David Teigland <teigland@redhat.com>,
linux-kernel@vger.kernel.org
Subject: Re: GFS2 Filesystem [0/16]
Date: Thu, 2 Mar 2006 10:36:03 +0000 [thread overview]
Message-ID: <20060302103603.GX27946@ftp.linux.org.uk> (raw)
In-Reply-To: <20060302101219.GA22243@souterrain.chygwyn.com>
On Thu, Mar 02, 2006 at 10:12:19AM +0000, Steven Whitehouse wrote:
> Hi,
>
> On Tue, Feb 28, 2006 at 12:18:31PM -0500, Phillip Susi wrote:
> > I'm a bit confused. Why exactly is this unacceptable, and what exactly
> > do you propose instead? Having an entirely separate mount point that is
> > sort of parallel to the main one, but with extra metadata exposed? So
> > instead of /path/to/foo/.gfs2_admin/metafile you'd prefer having a
> > separate mount point like /proc/fs/gfs/path/to/foo/metafile?
> >
> I believe that is what Christoph is proposing. It does simplify certain
> things, not least preventing someone from moving the .gfs2_admin directory
> to somewhere other than the root directory of the filesystem or even
> removing it completely which would otherwise need to be added as special
> cases.
>
> On the otherhand, its not clear to me at the moment, exactly how to
> implement this bearing in mind that both the "normal" filesystem and
> the metadata filesystem are really one and the same as far as journaling
> and locking are concerned. Perhaps what's needed is one fs with two
> different roots. I'm still looking into the best way to do this,
Two superblocks, one keeping a reference to another. Filesystem driver is,
of course, the single piece of code, with common locking. There's no need
to have the common struct super_block for that and no benefit in doing so -
only extra complications. You can easily register two filesystem types
in the same driver and have ->get_sb() for your metadata fs parse its
arguments in any way it likes. E.g. by doing pathname lookup on what would
normally be a device name and seeing if its on a filesystem of the primary
type; if it is - grab a reference to struct super_block of that fs
and work with it.
next prev parent reply other threads:[~2006-03-02 10:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-24 14:48 GFS2 Filesystem [0/16] Steven Whitehouse
2006-02-24 21:35 ` Christoph Hellwig
2006-02-27 9:03 ` Steven Whitehouse
2006-02-28 17:18 ` Phillip Susi
2006-03-02 10:12 ` Steven Whitehouse
2006-03-02 10:36 ` Al Viro [this message]
2006-02-24 21:36 ` Christoph Hellwig
2006-02-24 23:52 ` Andrew Morton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060302103603.GX27946@ftp.linux.org.uk \
--to=viro@ftp.linux.org.uk \
--cc=akpm@osdl.org \
--cc=hch@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=psusi@cfl.rr.com \
--cc=steve@chygwyn.com \
--cc=swhiteho@redhat.com \
--cc=teigland@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.