Return-Path: linux-nfs-owner@vger.kernel.org Received: from mailgw01.dd24.net ([193.46.215.41]:53602 "EHLO mailgw01.dd24.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756006Ab3J1QQE (ORCPT ); Mon, 28 Oct 2013 12:16:04 -0400 Message-ID: <1382976943.8774.10.camel@heisenberg.scientia.net> Subject: Re: XATTRs in NFS? From: Christoph Anton Mitterer To: Ric Wheeler Cc: "Myklebust, Trond" , Mailing List Linux NFS , Dr Fields James Bruce Date: Mon, 28 Oct 2013 17:15:43 +0100 In-Reply-To: <526E8562.3040809@redhat.com> 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> Content-Type: multipart/signed; micalg="sha-512"; protocol="application/x-pkcs7-signature"; boundary="=-yl67PXuL7Ho7mrHGvd3g" Mime-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org List-ID: --=-yl67PXuL7Ho7mrHGvd3g Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 n= eeds to=20 > be stored and extra lookups for each file when you do a whole file system= crawl. >=20 > 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. Cheers, Chris. --=-yl67PXuL7Ho7mrHGvd3g Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCCEP4w ggV1MIIDXaADAgECAgMBAYIwDQYJKoZIhvcNAQEFBQAwVDEUMBIGA1UEChMLQ0FjZXJ0IEluYy4x HjAcBgNVBAsTFWh0dHA6Ly93d3cuQ0FjZXJ0Lm9yZzEcMBoGA1UEAxMTQ0FjZXJ0IENsYXNzIDMg Um9vdDAeFw0xMjA3MjMxNDU2NDVaFw0xNDA3MjMxNDU2NDVaMHwxITAfBgNVBAMTGENocmlzdG9w aCBBbnRvbiBNaXR0ZXJlcjEkMCIGCSqGSIb3DQEJARYVY2FsZXN0eW9Ac2NpZW50aWEubmV0MTEw LwYJKoZIhvcNAQkBFiJtYWlsQGNocmlzdG9waC5hbnRvbi5taXR0ZXJlci5uYW1lMIIBIjANBgkq hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqv+F91K5vyBwiGFMqj6wTehWdqZnfFeXqT8g5b3qrXWL ywSzcoD9xtyoRqAgOCX+PSmBpm6pPhe31VnBtc3HcBMe4rSico9/Z2H9h1l6IMVEnyhabWzoKbE3 BFrsYJGthJCbhK072G8AhCk+5p+L+knLhQXN0Ph7MJbdY26o3M4vjsXFNbJL8TOYxo80cGD1LIh2 SUZFqaIG24TVmTW8F4jD5Z9/NEwJa8kQK+VBNHUntXYNah4Reh0jSsGnq9Pg3Hf4KC+F0IR8QgBm SnwitMFUX9UnhLEvRQxjDI1tm+h6RxfjlV7moI68Ulh7bcdPhM/z2Q16XmaY12rc85pSRQIDAQAB o4IBJjCCASIwDAYDVR0TAQH/BAIwADBWBgl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