Re: [nfsv4] xattr model in draft-naik-nfsv4-xattrs-01?

Manoj Naik <mnaik@us.ibm.com> Mon, 06 October 2014 22:37 UTC

Return-Path: <mnaik@us.ibm.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E046E1A9047 for <nfsv4@ietfa.amsl.com>; Mon, 6 Oct 2014 15:37:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.686
X-Spam-Level:
X-Spam-Status: No, score=-7.686 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.786, SPF_PASS=-0.001] autolearn=ham
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 XYf3rCO8Fyew for <nfsv4@ietfa.amsl.com>; Mon, 6 Oct 2014 15:37:54 -0700 (PDT)
Received: from e8.ny.us.ibm.com (e8.ny.us.ibm.com [32.97.182.138]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 41FC31A9046 for <nfsv4@ietf.org>; Mon, 6 Oct 2014 15:37:53 -0700 (PDT)
Received: from /spool/local by e8.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for <nfsv4@ietf.org> from <mnaik@us.ibm.com>; Mon, 6 Oct 2014 18:37:52 -0400
Received: from d01dlp03.pok.ibm.com (9.56.250.168) by e8.ny.us.ibm.com (192.168.1.108) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 6 Oct 2014 18:37:51 -0400
Received: from b01cxnp22036.gho.pok.ibm.com (b01cxnp22036.gho.pok.ibm.com [9.57.198.26]) by d01dlp03.pok.ibm.com (Postfix) with ESMTP id 5F758C9003E for <nfsv4@ietf.org>; Mon, 6 Oct 2014 18:26:35 -0400 (EDT)
Received: from d01av05.pok.ibm.com (d01av05.pok.ibm.com [9.56.224.195]) by b01cxnp22036.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id s96Mbh494587888 for <nfsv4@ietf.org>; Mon, 6 Oct 2014 22:37:51 GMT
Received: from d01av05.pok.ibm.com (localhost [127.0.0.1]) by d01av05.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s96MbIwR019074 for <nfsv4@ietf.org>; Mon, 6 Oct 2014 18:37:18 -0400
Received: from d01ml605.pok.ibm.com (d01ml605.pok.ibm.com [9.63.8.148]) by d01av05.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id s96MbIiP018642 for <nfsv4@ietf.org>; Mon, 6 Oct 2014 18:37:18 -0400
In-Reply-To: <20141006212325.GB14926@fieldses.org>
References: <20141004161750.GA22828@lst.de> <OF88F663C8.C237679D-ON88257D67.006E4B58-88257D67.0070FBCC@us.ibm.com> <20141005072228.GA6312@lst.de> <OFE40CB917.BC1F18C3-ON88257D69.0071923E-88257D69.007356B2@us.ibm.com> <20141006212325.GB14926@fieldses.org>
X-KeepSent: D7682759:2B1F9DFC-88257D69:007C0F1E; type=4; name=$KeepSent
To: "J. Bruce Fields" <bfields@fieldses.org>
X-Mailer: IBM Notes Release 9.0.1FP2 August 03, 2014
Message-ID: <OFD7682759.2B1F9DFC-ON88257D69.007C0F1E-88257D69.007C39B7@us.ibm.com>
From: Manoj Naik <mnaik@us.ibm.com>
Date: Mon, 06 Oct 2014 15:36:53 -0700
X-MIMETrack: Serialize by Router on D01ML605/01/M/IBM(Release 9.0.1FP1|April 03, 2014) at 10/06/2014 06:37:18 PM
MIME-Version: 1.0
Content-type: multipart/alternative; Boundary="0__=07BBF7FADFEF898E8f9e8a93df938690918c07BBF7FADFEF898E"
Content-Disposition: inline
X-TM-AS-MML: disable
X-Content-Scanned: Fidelis XPS MAILER
x-cbid: 14100622-0320-0000-0000-000000AF3AFC
Archived-At: http://mailarchive.ietf.org/arch/msg/nfsv4/_9po3tVH5tsJhNikM9JSe0okNNc
Cc: Christoph Hellwig <hch@lst.de>, nfsv4@ietf.org
Subject: Re: [nfsv4] xattr model in draft-naik-nfsv4-xattrs-01?
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Mon, 06 Oct 2014 22:37:56 -0000

"J. Bruce Fields" <bfields@fieldses.org> wrote on 10/06/2014 02:23:25 PM:

> From: "J. Bruce Fields" <bfields@fieldses.org>
> To: Manoj Naik/Almaden/IBM@IBMUS
> Cc: Christoph Hellwig <hch@lst.de>, nfsv4@ietf.org
> Date: 10/06/2014 02:23 PM
> Subject: Re: [nfsv4] xattr model in draft-naik-nfsv4-xattrs-01?
>
> On Mon, Oct 06, 2014 at 01:59:49PM -0700, Manoj Naik wrote:
> > An operation that replaces ALL the xattr keys of a file with another
set of
> > keys could be done in a compound if we added a separate REMOVEXATTR
that
> > allowed deleting all the xattrs of a file. Otherwise this would need a
> > LISTXATTR, delete individual xattrs and SETXATTR each one, and this
cannot
> > be achieved in a single COMPOUND.
>
> A separate REMOVEXATTR would also make it easier to make it optional.  A
> server could just not implement the one operation.
>
> And easier to remove from the draft when we eventually realize nobody
> cares about it, hah.

I am not sure if you meant to say that in jest, but I would think a server
that implements SETXATTR would implement REMOVEXATTR as well. The latter
would be the only way to delete xattrs, if we decide to separate it from
the current SETXATTR.

Manoj.

>
> --b.
>