Re: [nfsv4] follow-up of xattr discussion

"J. Bruce Fields" <bfields@fieldses.org> Thu, 23 July 2015 18:45 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 EBFD01A0065 for <nfsv4@ietfa.amsl.com>; Thu, 23 Jul 2015 11:45:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.912
X-Spam-Level:
X-Spam-Status: No, score=-1.912 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 gNugIQhGjcKG for <nfsv4@ietfa.amsl.com>; Thu, 23 Jul 2015 11:45:52 -0700 (PDT)
Received: from fieldses.org (fieldses.org [IPv6:2600:3c00::f03c:91ff:fe50:41d6]) by ietfa.amsl.com (Postfix) with ESMTP id 1829A1A03A2 for <nfsv4@ietf.org>; Thu, 23 Jul 2015 11:45:48 -0700 (PDT)
Received: by fieldses.org (Postfix, from userid 2815) id 4964524D1; Thu, 23 Jul 2015 14:45:47 -0400 (EDT)
Date: Thu, 23 Jul 2015 14:45:47 -0400
From: "J. Bruce Fields" <bfields@fieldses.org>
To: David Noveck <davenoveck@gmail.com>
Message-ID: <20150723184547.GB14362@fieldses.org>
References: <2012078076.247893.1437644524491.JavaMail.zimbra@desy.de> <20150723095818.GA32487@lst.de> <CA+isNR+bVaNt04UbT0B1T5=UuS8di6p5-y0WfNruDfx2ZYdJig@mail.gmail.com> <57973269.254482.1437648687957.JavaMail.zimbra@desy.de> <20150723153841.GB13399@fieldses.org> <CAABAsM6XuGR5xkg297wGtc0oQ5UARY6K_ck+10JMdAEfZGHXvA@mail.gmail.com> <CADaq8jeX2yYA1Z7ddmm01e7STKGk=infXPvfz6rqtMn_7-2VVA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CADaq8jeX2yYA1Z7ddmm01e7STKGk=infXPvfz6rqtMn_7-2VVA@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/nfsv4/OVzwPhHr1V3CZ1UgL5tR8Pl19-Y>
Cc: Christoph Hellwig <hch@lst.de>, "nfsv4@ietf.org" <nfsv4@ietf.org>
Subject: Re: [nfsv4] follow-up of xattr discussion
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: <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: Thu, 23 Jul 2015 18:45:54 -0000

On Thu, Jul 23, 2015 at 01:15:22PM -0400, David Noveck wrote:
> which sound to me like such uses for not allowed.  I'll be reviewing
> this document in a bit and will propose some toughening up of the
> language.

One of the practical difference is the caching.  A lot of the
filesystem-specific attributes look incompatible with client caching.

Looking at the "caching" section: it does say clients may cache reads,
and that the change attribute can be depended on to validate that cache,
but:

	https://tools.ietf.org/html/draft-naik-nfsv4-xattrs-02#section-6.2.2

	Such caching is write through in that modification to xattrs is
	always done by means of requests to the server and should not be
	only done locally. Due to the relative infrequency of xattr
	updates, it is suggested that all changes be propagated
	synchronously. The client MUST NOT maintain a cache of modified
	xattrs.

What's the rationale for that MUST NOT?

--b.