Return-Path: linux-nfs-owner@vger.kernel.org Received: from mx12.netapp.com ([216.240.18.77]:65359 "EHLO mx12.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932164Ab3J1Rtv convert rfc822-to-8bit (ORCPT ); Mon, 28 Oct 2013 13:49:51 -0400 From: "Myklebust, Trond" To: Christoph Anton Mitterer CC: Wheeler Ric , Mailing List Linux NFS , Dr Fields James Bruce Subject: Re: XATTRs in NFS? Date: Mon, 28 Oct 2013 17:49:38 +0000 Message-ID: References: <1382560643.6924.12.camel@heisenberg.scientia.net> <1382624000.6907.8.camel@heisenberg.scientia.net> <1382630468.6907.58.camel@heisenberg.scientia.net> <625CAA34-BD6C-4283-86D0-3F8B460D54D0@netapp.com> <1382635350.6907.83.camel@heisenberg.scientia.net> <20131025140846.GB20497@fieldses.org> <1382807547.29041.12.camel@heisenberg.scientia.net> <20131027191512.GA31322@fieldses.org> <1382911068.6932.20.camel@heisenberg.scientia.net> <8DB0D7A2-BA2A-4001-A01C-D498C777B243@netapp.com> <1382920068.6932.46.camel@heisenberg.scientia.net> <2E672741-FE4F-4287-8D00-B7634A71709E@netapp.com> <526E8562.3040809@redhat.com> <1382976943.8774.10.camel@heisenberg.scientia.net> In-Reply-To: <1382976943.8774.10.camel@heisenberg.scientia.net> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org List-ID: On Oct 28, 2013, at 12:15 PM, Christoph Anton Mitterer wrote: > On Mon, 2013-10-28 at 11:40 -0400, Ric Wheeler wrote: >> Then you end up with large directories and an extra name per inode that needs to >> be stored and extra lookups for each file when you do a whole file system crawl. >> >> Certainly not as easy as adding and xattrs with that information :) > > And I think there's another reason why it wouldn't work... > > Imagine I change my system to encode what should be XATTRs in hardlink > pseudo files... > > If I have such pair locally e.g. on my ext4: > /foo/bar/actual/file > /meta/.2342348324 > > And now move/copy the file via the network to the archive, I'd have to > copy both files (which is really annoying), and I'd guess the inode > coupling would get los (and at least the name wouldn't fit anymore). > > So the whole thing is IMHO not even a workaround. OK. So you're going to do XATTRs for us? Trond