Re: [nfsv4] draft-haynes-nfsv4-delstid-00 comments

Tom Haynes <loghyr@gmail.com> Mon, 16 July 2018 14:49 UTC

Return-Path: <loghyr@gmail.com>
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 C885D131078 for <nfsv4@ietfa.amsl.com>; Mon, 16 Jul 2018 07:49:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 9zmqXjxr8qBn for <nfsv4@ietfa.amsl.com>; Mon, 16 Jul 2018 07:49:18 -0700 (PDT)
Received: from mail-it0-x232.google.com (mail-it0-x232.google.com [IPv6:2607:f8b0:4001:c0b::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5544B130E30 for <nfsv4@ietf.org>; Mon, 16 Jul 2018 07:49:18 -0700 (PDT)
Received: by mail-it0-x232.google.com with SMTP id j185-v6so21738877ite.1 for <nfsv4@ietf.org>; Mon, 16 Jul 2018 07:49:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=q5E4DsTkxeGpxqiElKWvc3p4MfZVXWYLVTXpN6S7N8Y=; b=YeZZ8M+3am981m3OzD2TlX71W4MUAPmT1RzWJrAwR6ZEbjXY8QcvJNUKlNmYj2j4Hj f+1hk70RkMAZc1UJOB0JXYlPbOmzSXy8wG5N+cKLj+tQtNmkLZgxHD8NG7C9PCs4rc0R 2CxtEnjEDguAzl54Nk6hPZZs0Xo4W1KJKr9TTbtlf5VVqt7Wh8ZGPvcxGfhwgs+D2n8E yEb1FzfKn7ug5h2qpjoI0vN+L7Lsn0YPa1z3NiXxszlF0m3ccmHIL0sD010CGHTOOTWU xQ1eLiirQu3qqtSeL8Pyul5JWHOxLob3grfEjlAAwKEduPITEboT8nzk2EJJDZVeCBID Ao1A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=q5E4DsTkxeGpxqiElKWvc3p4MfZVXWYLVTXpN6S7N8Y=; b=AuPYMBFWjDF0Mm/9U4zM0A5pPT4c8vYcZAAcIadyUo7K1hbj5N4eKkvzjMgRtkO1Gp UGBGmowT5XjCF0kM8erLBklXWI9oKegLzwvtZS9+0szfbXetZT5+2+97cE3c12GgRCDh 6TudZ0+wPuvpyN5870L2mzDk1tvGPgrR4KmNv9TLqrywT1kAGMADgQtWQ4QPuOKeQ8eJ P515YCUX72CtJEkWsmCgsP8Xx8mpUFI8zr/v9zfc5hFT3bcif6wd/k27uTm/kNZnkd/n 0Y3PkimbWkQ9krbNSEoicb7pLuuAZXkHkn+4HFtb9hpMAWhr143T3KNYr553VARgEee7 kMog==
X-Gm-Message-State: AOUpUlEJgXxiw8zMxIAQKBRqkt6hXq1S+McC9E2lHYJDRCg9eU9ICYVQ ZXGZ/6PlRvSwMIIzDU94OciN7O71
X-Google-Smtp-Source: AAOMgpcGp3Tt2NGPpSzLaJs59LE/E8wAcNLzNqSrHFIaYdQO9h5JS2cJA6ns3g32V1+xJi2pwiDPhw==
X-Received: by 2002:a24:5c93:: with SMTP id q141-v6mr12063945itb.133.1531752557659; Mon, 16 Jul 2018 07:49:17 -0700 (PDT)
Received: from ?IPv6:2001:67c:1232:144:5819:485b:129d:91c8? ([2001:67c:1232:144:5819:485b:129d:91c8]) by smtp.gmail.com with ESMTPSA id l8-v6sm13005560iog.42.2018.07.16.07.49.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Jul 2018 07:49:17 -0700 (PDT)
From: Tom Haynes <loghyr@gmail.com>
Message-Id: <35741C47-499B-4BAC-8ED9-C33A86BEF957@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_B82E2D93-5506-4FD3-946C-A30953ED9388"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
Date: Mon, 16 Jul 2018 10:49:14 -0400
In-Reply-To: <CADaq8jd1vGMgMtJRPn54WhXTmACMzfzr8mx0C=jpPTuXjOefzA@mail.gmail.com>
Cc: Mike Kupfer <mike.kupfer@oracle.com>, NFSv4 <nfsv4@ietf.org>
To: David Noveck <davenoveck@gmail.com>
References: <864lh54d8v.fsf@oracle.com> <40D53AB1-81E5-4A61-85B3-7D03FB7BFA27@gmail.com> <CADaq8jd1vGMgMtJRPn54WhXTmACMzfzr8mx0C=jpPTuXjOefzA@mail.gmail.com>
X-Mailer: Apple Mail (2.3445.9.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/9_SDQ16C1-i-b2n8r9qAvmSNuAM>
Subject: Re: [nfsv4] draft-haynes-nfsv4-delstid-00 comments
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.27
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: Mon, 16 Jul 2018 14:49:21 -0000


> On Jul 16, 2018, at 4:51 AM, David Noveck <davenoveck@gmail.com> wrote:
> 
> > > - Those references to "microversion" should all be "minor version",
> > >  shouldn't they?
> 
> > I’ll check, but I think I mean microversion. 
> 
> Perhaps, but I'm not sure what "microversion" means.


I’ll create a draft. :-)

Minor version it is!

> 
> 
> On Sun, Jul 15, 2018 at 7:15 PM, Tom Haynes <loghyr@gmail.com <mailto:loghyr@gmail.com>> wrote:
> Hi Mike,
> 
> Thanks for the review!
> 
> Responses inline.
> 
> > On Jul 11, 2018, at 3:30 PM, Mike Kupfer <mike.kupfer@oracle.com <mailto:mike.kupfer@oracle.com>> wrote:
> > 
> > Here's my feedback on draft-haynes-nfsv4-delstid-00.  I've omitted a
> > couple comments that were already covered by Dave Noveck.  Apologies
> > for not getting this written up earlier.
> > 
> > * Comments on delegated timestamps
> > 
> > Another use case for delegated timestamps would be when the client has
> > a lot of dirty data for the file and an application asks for the
> > file's mtime.  My understanding is that the Linux client delays the
> > stat() call until the dirty data is written back.  If the client can
> > specify the mtime, then there's no need to wait for the writeback to
> > finish.
> 
> 
> Yes.
> 
> 
> > 
> > The current proposal disallows setting the timestamp to an earlier
> > time, and it disallows setting the timestamp to a time in the future.
> > Are those restrictions really necessary?  If yes, then the spec should
> > discuss how the client can make such changes (e.g., in response to a
> > user specifying a time via the "touch" command).
> 
> The setting of the timestamp for the delegation caching is different
> than the setting of the timestamp from touch. The first is an operation
> that the proxy is performing to update the data file properties and the
> second is an operation being performed on the meta data properties.
> 
> The MDS would have to use a CB_GETATTR to get those times
> from the proxy server when it saw the explicit SETATTR. It would
> want to make sure the times it had recorded for the data file were
> updated to match the times that were being set.
> 
> If we ignore time proxying, then a model for determining when
> the times change would be for the MDS to record the data file
> time attributes whenever it hands out a layout to a client. Then,
> whenever the MDS does a GETATTR to the data file (in response
> to a GETATTR from the client looking for one of times, size, or
> bytes used), then it can use the difference of the data file
> attributes to calculate a new mtime, atime, and ctime for the
> metadata portion of the file.
> 
> Let me know how much of that you need to go into the document - I’m
> probably too close to the problem/implementation details. 
> 
> 
> > (And don't NetApp
> > and EMC have some scheme where a file can be made immutable and
> > unremovable by a series of steps that include changing the access
> > time?)
> > 
> > When the spec talks about the server accepting the time values from
> > the client, I assume that the server is allowed to lose precision, as
> > per Section 2.2.1 of RFC 7530.
> > 
> > * Editorial nits
> > 
> > - Page 1
> > - serveral -> several
> > - opeing -> opening
> > - Page 2
> > - semnatics -> semantics
> 
> Thanks
> 
> > - Page 5
> > - Those references to "microversion" should all be "minor version",
> >  shouldn't they?
> 
> I’ll check, but I think I mean microversion.
> 
> 
> > - documuent -> document
> > - Section Section -> Section
> > - Page 7
> > - negiotiate -> negotiate
> > - Page 8
> > - prequisite -> prerequisite
> > - Section 4.1: "With a server" -> "When a server"
> > 
> > regards,
> > mike
> > 
> > _______________________________________________
> > nfsv4 mailing list
> > nfsv4@ietf.org <mailto:nfsv4@ietf.org>
> > https://www.ietf.org/mailman/listinfo/nfsv4 <https://www.ietf.org/mailman/listinfo/nfsv4>
> 
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org <mailto:nfsv4@ietf.org>
> https://www.ietf.org/mailman/listinfo/nfsv4 <https://www.ietf.org/mailman/listinfo/nfsv4>
>