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

Christoph Hellwig <hch@lst.de> Tue, 07 October 2014 09:38 UTC

Return-Path: <hch@lst.de>
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 1A0E01ACD15 for <nfsv4@ietfa.amsl.com>; Tue, 7 Oct 2014 02:38:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.336
X-Spam-Level:
X-Spam-Status: No, score=-2.336 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, 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 w6GaIqfcn8jA for <nfsv4@ietfa.amsl.com>; Tue, 7 Oct 2014 02:38:49 -0700 (PDT)
Received: from newverein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C8B501ACD1B for <nfsv4@ietf.org>; Tue, 7 Oct 2014 02:38:48 -0700 (PDT)
Received: by newverein.lst.de (Postfix, from userid 2407) id 7BA9D144FE; Tue, 7 Oct 2014 11:38:47 +0200 (CEST)
Date: Tue, 07 Oct 2014 11:38:47 +0200
From: Christoph Hellwig <hch@lst.de>
To: Nico Williams <nico@cryptonector.com>
Message-ID: <20141007093847.GB13519@lst.de>
References: <20141004161750.GA22828@lst.de> <OF88F663C8.C237679D-ON88257D67.006E4B58-88257D67.0070FBCC@us.ibm.com> <20141005072228.GA6312@lst.de> <20141006050648.GF14969@localhost>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20141006050648.GF14969@localhost>
User-Agent: Mutt/1.5.17 (2007-11-01)
Archived-At: http://mailarchive.ietf.org/arch/msg/nfsv4/6dWwxjgd0IRacHmwsYhrlZJO4CU
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: Tue, 07 Oct 2014 09:38:50 -0000

On Mon, Oct 06, 2014 at 12:06:49AM -0500, Nico Williams wrote:
> 
> IMO:
> 
>  - for listing attributes the READDIR model should be followed (a
>    pageable list+get operation)

While I'm still concerned about the lack of list+get in OS APIs
if we want to support a list+get that is indeed the way to go.  A real
GETXATTR similar to GETATTR and a LISTXATTR that is the readdir equivalent.