From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Manning Subject: What's a realistic size for xattr? Date: Thu, 13 Mar 2008 11:06:48 +1300 Message-ID: <200803131106.48181.manningc2@actrix.gen.nz> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT To: linux-fsdevel@vger.kernel.org Return-path: Received: from pop.scorch.co.nz ([203.167.210.162]:46208 "HELO firstline.co.nz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with SMTP id S1752618AbYCLWNu convert rfc822-to-8bit (ORCPT ); Wed, 12 Mar 2008 18:13:50 -0400 Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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?... Thanx. Charles