Re: [nfsv4] Eric Rescorla's Discuss on draft-ietf-nfsv4-xattrs-05: (with DISCUSS)

Christoph Hellwig <hch@lst.de> Tue, 06 June 2017 06:30 UTC

Return-Path: <hch@lst.de>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 70C1C12711E; Mon, 5 Jun 2017 23:30:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XJqET7jDrYk5; Mon, 5 Jun 2017 23:30:29 -0700 (PDT)
Received: from newverein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C06EB1204DA; Mon, 5 Jun 2017 23:30:29 -0700 (PDT)
Received: by newverein.lst.de (Postfix, from userid 2407) id 9BDD968B7E; Tue, 6 Jun 2017 08:30:27 +0200 (CEST)
Date: Tue, 06 Jun 2017 08:30:27 +0200
From: Christoph Hellwig <hch@lst.de>
To: Nico Williams <nico@cryptonector.com>
Cc: "J. Bruce Fields" <bfields@fieldses.org>, Eric Rescorla <ekr@rtfm.com>, draft-ietf-nfsv4-xattrs@ietf.org, nfsv4-chairs@ietf.org, NFSv4 <nfsv4@ietf.org>, Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com>, The IESG <iesg@ietf.org>
Message-ID: <20170606063027.GA14518@lst.de>
References: <149559305147.28562.14990485255783585477.idtracker@ietfa.amsl.com> <CAKKJt-cHEoBeP++YP-=FWmVTWkoLWLa5OZ=sDYT7kEBrDvvOiw@mail.gmail.com> <CABcZeBPc9U1D+sSOnz2_3MwVn527ruuqqWoCsZYafx_rLwpyAQ@mail.gmail.com> <CAKKJt-dcjiMFk0NyD-UrBQrtKAZgWaVzcxY67YSDOu0ZVNw9Ng@mail.gmail.com> <CAKKJt-ceK3r8=HXArenmNXpt8bk2MuKbkPL-qoNPZMrHHETfJg@mail.gmail.com> <20170525152957.GV10188@localhost> <OFE1A7E856.598CE2A7-ON8825812B.00586825-8825812B.0058FAF1@notes.na.collabserv.com> <20170525182246.GW10188@localhost> <20170605183938.GA831@fieldses.org> <20170605185620.GH2903@localhost>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20170605185620.GH2903@localhost>
User-Agent: Mutt/1.5.17 (2007-11-01)
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/EfaGRBOZWip3JlAPKg6kYb26TLE>
Subject: Re: [nfsv4] Eric Rescorla's Discuss on draft-ietf-nfsv4-xattrs-05: (with DISCUSS)
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/nfsv4/>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Jun 2017 06:30:32 -0000

On Mon, Jun 05, 2017 at 01:56:21PM -0500, Nico Williams wrote:
> > (and the rest of that paragraph).
> 
> I see a "system xattrs" extension in NFSv4's future.

I don't.  And I'm going to do all in my powers so that I don't have
to see it.  The "system" xattrs in Linux were a major mistakes that
no one should repeat - it's another ioctl-like way to do arbitrary
syscalls without the usual process and a resulting low quality.  We
should no extend this to NFS.

Anything actually useful provided through "system" xattrs in Linux
could be implemented using a new fattr4 values as a NFSv4 extension,
but it should go through proper WG review.