From: =?iso-8859-1?Q?Bj=F6rn?= JACKE Subject: Re: size limit of extended attributes Date: Tue, 5 May 2015 15:34:54 +0200 Message-ID: References: <55424038.7000109@plexistor.com> <55425ED4.3090207@plexistor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Trond Myklebust , Linux FS-devel Mailing List To: Boaz Harrosh Return-path: Received: from mail.SerNet.de ([193.175.80.2]:43362 "EHLO mail.SerNet.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946026AbbEENfu (ORCPT ); Tue, 5 May 2015 09:35:50 -0400 Content-Disposition: inline In-Reply-To: <55425ED4.3090207@plexistor.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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 obv= ious 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 wo= uld be > > bigger EA sizes. I was hoping that this would be not a big challeng= e for the > > Linux kernel. > >=20 >=20 > Again you are ignoring my point. If the FS would like to (easily) kee= p these > xattrs for you, you have a POSIX API problem. You will need an altern= ate API > to be able to read/write these big xattrs in chunks. >=20 > 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 E= As. It would be a start if the hard coded kernel EA size limit would vanish= =2E 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 acces= s EAs. Bj=C3=B6rn --=20 SerNet GmbH, Bahnhofsallee 1b, 37081 G=C3=B6ttingen =E2=98=8E +49-551-370000-0, =E2=84=BB +49-551-370000-9 AG G=C3=B6ttingen, 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