Re: [nfsv4] What error to return if destination server fails to READ within cnr_lease_time

Tom Haynes <thomas.haynes@primarydata.com> Fri, 18 December 2015 20:52 UTC

Return-Path: <thomas.haynes@primarydata.com>
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 8DFE01B306F for <nfsv4@ietfa.amsl.com>; Fri, 18 Dec 2015 12:52:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 4.687
X-Spam-Level: ****
X-Spam-Status: No, score=4.687 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FB_WORD1_END_DOLLAR=3.294, FB_WORD2_END_DOLLAR=3.294, SPF_PASS=-0.001] autolearn=no
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 dvcEeTRmBVYC for <nfsv4@ietfa.amsl.com>; Fri, 18 Dec 2015 12:52:29 -0800 (PST)
Received: from mail-pf0-x22c.google.com (mail-pf0-x22c.google.com [IPv6:2607:f8b0:400e:c00::22c]) (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 1383D1B304D for <nfsv4@ietf.org>; Fri, 18 Dec 2015 12:52:29 -0800 (PST)
Received: by mail-pf0-x22c.google.com with SMTP id u7so7817549pfb.1 for <nfsv4@ietf.org>; Fri, 18 Dec 2015 12:52:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=primarydata-com.20150623.gappssmtp.com; s=20150623; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Gwi7DRJ8NrnRb07sxXiG0qdXw1FtVTOjckD2ij0DAyY=; b=p7KJ18/hrmnExKee7Y4v98SP4030nQVRF3RxVbxT6SUqQh+gT0qRq4u1Lsa3GRIvQB lxWv4s9tadjKcpBxS+a2E+iR1OgFBlBVtSHyerVqAndHix2mJs0Cz0ZwyS3Hjt2UKvjH LGaet+jW4drD9je9vvemyCSRpz9obU3e6//JXet6tBkE6vo6Nv76qUUGQKhkN18ivr4s eK4DJVPboPfC/gNRHa09d59TZATPUgneodrgRt2Z4SMC0kDNIE21JiELwC+uVCbP8ZaQ Z2Nruo8GkI2EHKzBw/p7MFwzyea70dFNwJMeuE1CFbdqmgnH7LfcVP8h8XxpogdBIvEf rlfQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=Gwi7DRJ8NrnRb07sxXiG0qdXw1FtVTOjckD2ij0DAyY=; b=jf+TNPOPqyT8MsrfPvdiiFYIhqwynRcAAoMVVBWoqoEywiNaBXPSJOkQaekO8QCZ6e 9TclYVhdlZFOw/Q7wVJqGM7tt+LqQpswSi93Rrfdb5JWTvwC8inEk8NnLjesRYAJWf2S idr5byQh2c0FkORhJZgg36ViFD0q3d3q/CFQT9FJkRJT+eU5cpInICyDM83D7VR4RofP ZeF6CEqIo9kSOvSVR3yd3Q7gaP5QAV6Jb0QJ9g4pH9isoPJ/Yt29HY0n7eEK3oOFFesP qy8j6B5MxdUDYVutffjBaF1gi7Er5QUxidtNyo118TOkx3FWEGKbgZjd5W6KTGMsLH8W 98AA==
X-Gm-Message-State: ALoCoQkKovVM5XuhFuNdcNzb3XIR7pHK3az95TrRLHWwwn+Qt8vkvzmOo7FOl7cBwZLZ641xae0jxlwt50208gxFEKyH1/EH7w==
X-Received: by 10.98.75.206 with SMTP id d75mr8329171pfj.58.1450471948736; Fri, 18 Dec 2015 12:52:28 -0800 (PST)
Received: from kinslayer.corp.primarydata.com (63-157-6-18.dia.static.qwest.net. [63.157.6.18]) by smtp.gmail.com with ESMTPSA id 62sm19673357pfq.90.2015.12.18.12.52.27 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 18 Dec 2015 12:52:28 -0800 (PST)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
From: Tom Haynes <thomas.haynes@primarydata.com>
In-Reply-To: <225A3A7C-0818-4E25-AE1A-0DE819054301@primarydata.com>
Date: Fri, 18 Dec 2015 12:52:27 -0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <E52380AF-B718-4F29-83DC-DD7053A360B9@primarydata.com>
References: <2EE02221-E9C5-4087-AFA6-1A1D52308C0C@netapp.com> <CADaq8jfxrJDvtfhEVeGMXkD4PLFcv5sfBP4g4B6VUfdhB_Ks2w@mail.gmail.com> <E19898F5-E239-42D8-87FE-870712D5DA63@netapp.com> <CADaq8jePDoEj=jt2pC5_ko+8wiX4d7EVO-EDKPmPJTNqthhFKg@mail.gmail.com> <601F497C-40CF-409E-A2C3-561234AC54B9@netapp.com> <225A3A7C-0818-4E25-AE1A-0DE819054301@primarydata.com>
To: "Adamson, Andy" <William.Adamson@netapp.com>
X-Mailer: Apple Mail (2.3112)
Archived-At: <http://mailarchive.ietf.org/arch/msg/nfsv4/9PgU_0Bf_yJ9Yz_oiA4tY5relK4>
Cc: NFSv4 <nfsv4@ietf.org>
Subject: Re: [nfsv4] What error to return if destination server fails to READ within cnr_lease_time
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: Fri, 18 Dec 2015 20:52:30 -0000

kinslayer:NFSv4.2 loghyr$ git diff
diff --git a/nfsv42_middle_errors.xml b/nfsv42_middle_errors.xml
index 090c197..c39b754 100644
--- a/nfsv42_middle_errors.xml
+++ b/nfsv42_middle_errors.xml
@@ -2457,6 +2457,7 @@
         NFS4ERR_OLD_STATEID,
         NFS4ERR_OPENMODE,
         NFS4ERR_OP_NOT_IN_SESSION,
+        NFS4ERR_PARTNER_NO_AUTH,
         NFS4ERR_PNFS_IO_HOLE,
         NFS4ERR_PNFS_NO_LAYOUT,
         NFS4ERR_REP_TOO_BIG,
@@ -2538,6 +2539,7 @@
         NFS4ERR_OLD_STATEID,
         NFS4ERR_OPENMODE,
         NFS4ERR_OP_NOT_IN_SESSION,
+        NFS4ERR_PARTNER_NO_AUTH,
         NFS4ERR_PNFS_IO_HOLE,
         NFS4ERR_PNFS_NO_LAYOUT,
         NFS4ERR_REP_TOO_BIG,
diff --git a/nfsv42_middle_new_errors.xml b/nfsv42_middle_new_errors.xml
index 6e2d68a..5cf0ebd 100644
--- a/nfsv42_middle_new_errors.xml
+++ b/nfsv42_middle_new_errors.xml
@@ -463,6 +463,7 @@
         NFS4ERR_OLD_STATEID,
         NFS4ERR_OPENMODE,
         NFS4ERR_OP_NOT_IN_SESSION,
+        NFS4ERR_PARTNER_NO_AUTH,
         NFS4ERR_PNFS_IO_HOLE,
         NFS4ERR_PNFS_NO_LAYOUT,
         NFS4ERR_REP_TOO_BIG,
diff --git a/nfsv42_middle_op_copy_notify.xml b/nfsv42_middle_op_copy_notify.xml
index 71c3df3..e011d3c 100644
--- a/nfsv42_middle_op_copy_notify.xml
+++ b/nfsv42_middle_op_copy_notify.xml
@@ -62,7 +62,11 @@
           before the cnr_lease_time expires. If the cnr_lease_time
           expires while the destination server is still reading
           the source file, the destination server is allowed to
-          finish reading the file.
+          finish reading the file. If the cnr_lease_time
+          expires before the destination server uses READ or READ_PLUS
+          to begin the transfer, the source server can use
+          NFS4ERR_PARTNER_NO_AUTH to inform the destination server
+          that the cnr_lease_time has expired.
         </t>
 
         <t>