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

"J. Bruce Fields" <bfields@fieldses.org> Mon, 06 October 2014 21:23 UTC

Return-Path: <bfields@fieldses.org>
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 B34B11A8A41 for <nfsv4@ietfa.amsl.com>; Mon, 6 Oct 2014 14:23:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.686
X-Spam-Level:
X-Spam-Status: No, score=-2.686 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.786] 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 MnUQDC76w3_n for <nfsv4@ietfa.amsl.com>; Mon, 6 Oct 2014 14:23:28 -0700 (PDT)
Received: from fieldses.org (fieldses.org [174.143.236.118]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8996B1A1A19 for <nfsv4@ietf.org>; Mon, 6 Oct 2014 14:23:28 -0700 (PDT)
Received: from bfields by fieldses.org with local (Exim 4.76) (envelope-from <bfields@fieldses.org>) id 1XbFkb-00049a-Os; Mon, 06 Oct 2014 17:23:25 -0400
Date: Mon, 06 Oct 2014 17:23:25 -0400
To: Manoj Naik <mnaik@us.ibm.com>
Message-ID: <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>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <OFE40CB917.BC1F18C3-ON88257D69.0071923E-88257D69.007356B2@us.ibm.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
From: "J. Bruce Fields" <bfields@fieldses.org>
Archived-At: http://mailarchive.ietf.org/arch/msg/nfsv4/3P_36NuIM9m0IN8D-MinoJ21YAI
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 21:23:29 -0000

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.

--b.