Return-Path: linux-nfs-owner@vger.kernel.org Received: from tundra.namei.org ([65.99.196.166]:59084 "EHLO tundra.namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755303Ab3J1NW0 (ORCPT ); Mon, 28 Oct 2013 09:22:26 -0400 Date: Tue, 29 Oct 2013 00:25:33 +1100 (EST) From: James Morris To: "Myklebust, Trond" cc: Eshel Marc , Dr Fields James Bruce , Christoph Anton Mitterer , Mailing List Linux NFS , "linux-nfs-owner@vger.kernel.org" , Wheeler Ric Subject: Re: XATTRs in NFS? In-Reply-To: <4260556F-D57B-407E-A686-808D3D802137@netapp.com> 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> <526A8D9A.8090008@gmail.com> <7C1323EE-D63F-4F93-A44D-E7DDB0C61BF0@netapp.com> <4260556F-D57B-407E-A686-808D3D802137@netapp.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-nfs-owner@vger.kernel.org List-ID: On Sun, 27 Oct 2013, Myklebust, Trond wrote: > > This sounds more like an NFS server problem than a client side NFS. Can we > > add support to the client side NFS and let server that think that they can > > handle XATTR implement it? > > No. It's a real problem for clients too if the NFS server starts > exporting ACLs and security labels via this interface. Everything from > integer endianness problems when getfacl attempts to read raw binary > acls from the server, to breakage of caching models when we allow > setfacl and don't invalidate our file access caches... Right, so any general xattrs for nfs would need to be specified as having no system effects, essentially exporting the Linux 'user' xattr namespace only. > > > We should probably start a discussion in the IETF to resolve the issues > > you see with XATTR at least for NFSv4.3. > > Let's get the basic discussion of motivation right first. It should be for user-managed metadata only. -- James Morris