linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Björn JACKE" <bj@sernet.de>
To: Boaz Harrosh <boaz@plexistor.com>
Cc: Trond Myklebust <trond.myklebust@primarydata.com>,
	Linux FS-devel Mailing List <linux-fsdevel@vger.kernel.org>
Subject: Re: size limit of extended attributes
Date: Tue, 5 May 2015 15:34:54 +0200	[thread overview]
Message-ID: <E1Ypd0l-004tQx-E2@intern.SerNet.DE> (raw)
In-Reply-To: <55425ED4.3090207@plexistor.com>

On 2015-04-30 at 19:56 +0300 Boaz Harrosh sent off:
> Solvable use the infamous ....xxxx~1 encoding solution for the dirs

I mentioned already, that this is not a good solution in any way. Apart from
the fact that those file names would then not be allowed for clients to be
created it decouples the meta-data from the files and that asks for obvious
interoperability troubles. No need to discuss any external data storage here,
really.

> > Apart from the
> > fact that the meta data is detached from the file, which also makes this
> > workaround quite sub-optimal. Still the only real solution I see would be
> > bigger EA sizes. I was hoping that this would be not a big challenge for the
> > Linux kernel.
> > 
> 
> Again you are ignoring my point. If the FS would like to (easily) keep these
> xattrs for you, you have a POSIX API problem. You will need an alternate API
> to be able to read/write these big xattrs in chunks.
> 
> It might be possible to make that 64K say 2M but you need a CONST-MAX size.
> with current API, is there a number that will satisfy you?

the most prominent consumer of those data are OS X clients. 64MB might be a
good number for most clients, even those that make quite heavy use of EAs.

It would be a start if the hard coded kernel EA size limit would vanish. If
that is done, we might start looking at extending the current xattr API as
needed or maybe even think of coming up with an alternativ API to access EAs.

Björn
-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
  ☎ +49-551-370000-0, ℻ +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2015-05-05 13:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-30 11:33 size limit of extended attributes Björn JACKE
2015-04-30 12:38 ` Trond Myklebust
2015-04-30 13:57   ` Björn JACKE
2015-04-30 14:35     ` Theodore Ts'o
2015-04-30 14:46     ` Boaz Harrosh
2015-04-30 16:06       ` Björn JACKE
2015-04-30 16:56         ` Boaz Harrosh
2015-05-05 13:34           ` Björn JACKE [this message]
2015-05-01 15:43     ` Dave Chinner
2015-05-05 13:38       ` Björn JACKE
2015-05-05 15:43         ` Jan Kara
2015-05-06  1:31           ` Dave Chinner

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=E1Ypd0l-004tQx-E2@intern.SerNet.DE \
    --to=bj@sernet.de \
    --cc=boaz@plexistor.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=trond.myklebust@primarydata.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).