From: Kent Overstreet <kent.overstreet@gmail.com>
To: Ming Lin <mlin@kernel.org>
Cc: linux-bcache@vger.kernel.org
Subject: Re: bcachefs xattr
Date: Wed, 12 Aug 2015 23:50:49 -0800 [thread overview]
Message-ID: <20150813075049.GB14629@moria.home.lan> (raw)
In-Reply-To: <1439452153.21532.2.camel@hasee>
On Thu, Aug 13, 2015 at 12:49:13AM -0700, Ming Lin wrote:
> On Wed, 2015-08-12 at 23:41 -0800, Kent Overstreet wrote:
> > On Thu, Aug 13, 2015 at 12:39:07AM -0700, Ming Lin wrote:
> > > Hi Kent,
> > >
> > > Seems the max length of xattr name+value is only 2004 bytes.
> > > Why the limit of U8_MAX below?
> >
> > The size of the key and value is stored as a u8 in units of u64s - the u64s
> > field of struct bkey.
>
> xfstests/generic/020 failed.
> Got it now.
>
> xfs supports 64KB values.
> In order to support larger size of value, does it make sense to store
> the value in "extent"?
Perhaps, but let's leave that for now and add it if there's demand for it.
prev parent reply other threads:[~2015-08-13 7:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-13 7:39 bcachefs xattr Ming Lin
2015-08-13 7:41 ` Kent Overstreet
2015-08-13 7:49 ` Ming Lin
2015-08-13 7:50 ` Kent Overstreet [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=20150813075049.GB14629@moria.home.lan \
--to=kent.overstreet@gmail.com \
--cc=linux-bcache@vger.kernel.org \
--cc=mlin@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 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).