From: Nathan Scott <nathans@sgi.com>
To: Steven Whitehouse <swhiteho@redhat.com>,
a.gruenbacher@bestbits.at, linux-fsdevel@vger.kernel.org
Subject: Re: xattr namespace question
Date: Wed, 22 Mar 2006 10:58:28 +1100 [thread overview]
Message-ID: <20060321235828.GB6846@frodo> (raw)
In-Reply-To: <20060321122119.GN6199@schatzie.adilger.int>
On Tue, Mar 21, 2006 at 05:21:19AM -0700, Andreas Dilger wrote:
> On Mar 21, 2006 12:06 +0000, Steven Whitehouse wrote:
> > In order to remove the final ioctl() call in the GFS2 filesystem its
> > been suggested that we use xattrs as a replacement interface. Mostly
> > this is self-explanatory however there is one question that I've not
> > been able to resolve 100% satisfactorily, which is what the namespace
> > should look like.
> >
> > We have a bunch of boolean flags, so (using the example of the journaled
> > data flag) should our xattrs be called something along the lines of
"boolean flags" sounds alot more like the lsattr/chattr inode flags
as Andreas points out. There is already a data journalling (j) flag
there too.
> > system.gfs2.jdata (this seems to be most popular suggestion amoung those
> > I've asked privately), or perhaps system.fs.gfs2.jdata or indeed is the
> > system namespace reserved for something special so that we should use a
> > special gfs2 namespace instead?
The choice typically depends on what the permissions model for
access to the attribute needs to be. See attr(5).
> If your extra flags can be mapped onto the EXT2_IOC_GETFLAGS equivalent,
> then you may want to (also) consider that. This allows the flags to be
> got/set by lsattr and chattr, respectively, and have been in linux for ages.
> It also happens that ext2/ext3/reiserfs all share this same API.
And XFS, and hfsplus too from the look of it.
cheers.
--
Nathan
next prev parent reply other threads:[~2006-03-22 0:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-21 12:06 xattr namespace question Steven Whitehouse
2006-03-21 12:21 ` Andreas Dilger
2006-03-21 23:58 ` Nathan Scott [this message]
2006-03-22 9:07 ` Steven Whitehouse
2006-03-22 8:59 ` Christoph Hellwig
2006-03-22 21:43 ` Nathan Scott
2006-03-23 12:04 ` Christoph Hellwig
2006-03-23 14:13 ` Dave Kleikamp
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=20060321235828.GB6846@frodo \
--to=nathans@sgi.com \
--cc=a.gruenbacher@bestbits.at \
--cc=linux-fsdevel@vger.kernel.org \
--cc=swhiteho@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 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).