From: Andreas Dilger <adilger@sun.com>
To: Charles Manning <manningc2@actrix.gen.nz>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: What's a realistic size for xattr?
Date: Wed, 12 Mar 2008 21:45:06 -0600 [thread overview]
Message-ID: <20080313034506.GD5851@webber.adilger.int> (raw)
In-Reply-To: <200803131106.48181.manningc2@actrix.gen.nz>
On Mar 13, 2008 11:06 +1300, Charles Manning wrote:
> I'm trying to figure out a reasonable approach to implementing xattr in YAFFS.
>
> From my (limited) knowledge of xattr it seems that in theory you could store a
> multi-Mbyte database in xattr, but in practice a smaller size is far more
> reasonable. Clearly storing/managing a small blob is going to be a lot
> simpler.
>
> What is the cut off of a reasonable xattr blob size? 1kbytes? 2kbytes?...
As a point of reference, ext2/3/4 limit the total xattr size to 1 data block
(4kB commonly), and I believe XFS has a total limit of 64kB. ZFS and NTFS
have resource forks, which can store arbitrary data, but they have a different
API. On NTFS the word is that resource forks are mostly used by root kits.
Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.
next prev parent reply other threads:[~2008-03-13 3:46 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-12 22:06 What's a realistic size for xattr? Charles Manning
2008-03-12 23:03 ` Nathan Scott
2008-03-12 23:23 ` Dave Quigley
2008-03-12 23:32 ` Dave Quigley
2008-03-13 0:03 ` Charles Manning
2008-03-13 17:10 ` Dave Quigley
2008-03-13 0:07 ` Jamie Lokier
2008-03-13 0:27 ` Brad Boyer
2008-03-13 8:56 ` Nicholas Miell
2008-03-13 3:45 ` Andreas Dilger [this message]
2008-03-15 11:09 ` Florian Weimer
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=20080313034506.GD5851@webber.adilger.int \
--to=adilger@sun.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=manningc2@actrix.gen.nz \
/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.