Extending the Opening of Files in NFSv4.2
draft-ietf-nfsv4-delstid-00

Document Type Active Internet-Draft (nfsv4 WG)
Last updated 2019-07-25
Stream IETF
Intended RFC status (None)
Formats plain text pdf htmlized bibtex
Stream WG state WG Document
Document shepherd No shepherd assigned
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
NFSv4                                                          T. Haynes
Internet-Draft                                              T. Myklebust
Intended status: Standards Track                             Hammerspace
Expires: January 26, 2020                                  July 25, 2019

               Extending the Opening of Files in NFSv4.2
                    draft-ietf-nfsv4-delstid-00.txt

Abstract

   The Network File System v4 (NFSv4) allows a client to both open a
   file and be granted a delegation of that file.  This provides the
   client the right to cache metadata on the file locally.  This
   document presents several refinements to both the opening and
   delegating of the file to the client.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at http://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on January 26, 2020.

Copyright Notice

   Copyright (c) 2019 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Haynes & Myklebust      Expires January 26, 2020                [Page 1]
Internet-Draft                Deleg Stateid                    July 2019

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
     1.1.  Definitions . . . . . . . . . . . . . . . . . . . . . . .   3
     1.2.  Requirements Language . . . . . . . . . . . . . . . . . .   3
   2.  Offline Files . . . . . . . . . . . . . . . . . . . . . . . .   3
   3.  Determining the Arguments to OPEN . . . . . . . . . . . . . .   4
     3.1.  XDR Modifications to OPEN . . . . . . . . . . . . . . . .   5
   4.  Proxying of Times . . . . . . . . . . . . . . . . . . . . . .   7
     4.1.  Use case  . . . . . . . . . . . . . . . . . . . . . . . .   8
     4.2.  XDR for Proxying of Times . . . . . . . . . . . . . . . .   9
   5.  Operation 77: LAYOUT_WCC - Layout Weak Cache Consistency  . .   9
     5.4.  Allowed Errors  . . . . . . . . . . . . . . . . . . . . .  11
     5.5.  Flex Files Layout Type  . . . . . . . . . . . . . . . . .  11
   6.  Extraction of XDR . . . . . . . . . . . . . . . . . . . . . .  13
     6.1.  Code Components Licensing Notice  . . . . . . . . . . . .  13
   7.  Security Considerations . . . . . . . . . . . . . . . . . . .  13
   8.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  14
   9.  Normative References  . . . . . . . . . . . . . . . . . . . .  14
   Appendix A.  Acknowledgments  . . . . . . . . . . . . . . . . . .  14
   Appendix B.  RFC Editor Notes . . . . . . . . . . . . . . . . . .  14
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  15

1.  Introduction

   In the Network File System version4 (NFSv4) a client may be granted a
   delegation for a file.  This allows the client to act as the
   authority of the file's metadata and data.  In this document, we
   introduce some new semantics to both the open and the delegation
   process which allows the client to:

   o  detect an offline file, which may be located off premise.

   o  determine the extension of OPEN (see Section 18.16 of [RFC5661])
      flags.

   o  during the OPEN procedure, get either the open or delegation
      stateids, but not both.

   o  cache both the access and modify times, reducing the number of
      times the client needs to go to the server to get that
      information.

   o  for clients using Parallel NFS (pNFS) (see Section 12 of
      [RFC5661]), periodically report the attributes of the data files
      to the metadata server.

Haynes & Myklebust      Expires January 26, 2020                [Page 2]
Internet-Draft                Deleg Stateid                    July 2019

   Using the process detailed in [RFC8178], the revisions in this
   document become an extension of NFSv4.2 [RFC7862].  They are built on
   top of the external data representation (XDR) [RFC4506] generated
Show full document text