From: Edward Shishkin <edward.shishkin@gmail.com>
To: Daniel Horne <daniel.horne@gmail.com>
Cc: Reiserfs mailing list <reiserfs-devel@vger.kernel.org>
Subject: Re: Xattrs in reiser4...
Date: Sun, 21 Dec 2008 16:41:53 +0300 [thread overview]
Message-ID: <494E47A1.5030605@gmail.com> (raw)
In-Reply-To: <be789c640812180153t13f8e9bcn16565fdbc71c1729@mail.gmail.com>
Daniel Horne wrote:
> 2008/12/17 Edward Shishkin <edward.shishkin@gmail.com>
>
>
> Can you say more about this?
> Do you know an application that requires xattrs of length longer then
> 4000 bytes?
>
>
> User xattrs. What I'm thinking is that if you can set arbitrary
> key:value pairs (which, of course, you can - through setfattr) the
> "high bound" number of xattrs per inode, and therefore total data
> stored is pretty much unlimited.
>
Yes, there is no doubt, that somebody will want to shove
a gigabyte of information by using setxattr(2) :)
The question is "whether it is really needed?"
Well, I think, we can implement xattrs with the mentioned
limit for now. If it won't be enough for serious applications
(it will be clear before xattrs release), then we'll think about
new stat-data plugin.
Edward.
>
> >
> > So, the temptation is to have something similar to the file plugin for
> > individual xattrs, with the xattr functions on a vfs file acting like
> > a directory of xattr-files. There'd be a large number of small objects
> > in the tree, of course, but that's a situation I understand R4 handles
> > well..
> >
> > So, what do you think?
>
> Let's forget about file-as-dir stuff. All what we need is a new file plugin
> with non-NULL methods, responsible for work with xattrs , and (maybe)
> a new stat-data plugin, which can handle stat-data items of arbitrary
> length.
>
>
> Agreed.
>
> --
> DH
>
>
prev parent reply other threads:[~2008-12-21 13:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4943B62E.40706@gmail.com>
[not found] ` <be789c640812171351k7e2dee9cg50a3803caca231d8@mail.gmail.com>
2008-12-17 23:18 ` [Fwd: [Fwd: Re: Xattrs in reiser4 and Google Summer of Code]] Edward Shishkin
2008-12-18 9:53 ` Daniel Horne
2008-12-21 13:41 ` Edward Shishkin [this message]
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=494E47A1.5030605@gmail.com \
--to=edward.shishkin@gmail.com \
--cc=daniel.horne@gmail.com \
--cc=reiserfs-devel@vger.kernel.org \
/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.