Re: [nfsv4] review of "draft-ietf-nfsv4-layrec-00"
Rick Macklem <rick.macklem@gmail.com> Fri, 01 March 2024 04:45 UTC
Return-Path: <rick.macklem@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 27738C14F6AD for <nfsv4@ietfa.amsl.com>; Thu, 29 Feb 2024 20:45:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.106
X-Spam-Level:
X-Spam-Status: No, score=-7.106 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yt8Zb2MPXPYQ for <nfsv4@ietfa.amsl.com>; Thu, 29 Feb 2024 20:45:41 -0800 (PST)
Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5249DC14F602 for <nfsv4@ietf.org>; Thu, 29 Feb 2024 20:45:41 -0800 (PST)
Received: by mail-pj1-x1034.google.com with SMTP id 98e67ed59e1d1-299dba8fd24so1242836a91.2 for <nfsv4@ietf.org>; Thu, 29 Feb 2024 20:45:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709268340; x=1709873140; darn=ietf.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Lk0bij9ZEkBq1dL/54L0LjTwVs0tNbtDHaijQCZsrzM=; b=gToDvN50bSSV+A4bqXWRkucJHOnCryXPQQZuaC3k2Vywb2W6ldlFfdXMmTrNCwMGxP SoHMxNmHb2TbC4becKsqEyWck+t+uLAH3xwfI2xe3sJZFtMkqQ2uo5qlk2+sSGrmcJ38 Xs2xm/vWytAeSsx2Jt4DtBOBOiZ5xTH9E/ZOlfJTBXOs6C0GtrWzFnA4PuKnNDRdVQwh K8qAWg+ycdYIGe6OGxbNHArqyFMrxButA0Q1jx+3g21+jj+YblcT227jhI1FmV57cjAX 7ZRyGgQn7Wwal/Z8Fpg3Dshym54JFeP4gkGEhYZeGhyOyQvjSCtS3Ry4KU4CSN2NqQex Emyg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709268340; x=1709873140; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Lk0bij9ZEkBq1dL/54L0LjTwVs0tNbtDHaijQCZsrzM=; b=D7o/zbccEFTCMSf4X+EcHT2ASWqLyL/bxIU8DzPRi7sySVOolxeIPnqfzV57TU0+yI 4Gy9wzLKj0VXzlqOd1RcgeVPnxFAuMK0sfEpt2R5zjvsY+uJe+Ei+wu9JQAaOCsg30sc FuMD0xH+FK8kmKE36ayGiZehCdEPXJr90pfsV/uZhnfqYrciTLah/MAHlurj0r/ni0/+ oAx55VPe+as/g5g7IW3yUVWDM9MAes2ZbgL/Z5n1BkcwC/GEI1cYmClZozod3a8MGcqi 5lcnlABnF895l24ZCEnDcnTcnnsbvj279KaWe/Qe9jkEGwhdjQfOKz93FcZFVwyMX79Z 29IQ==
X-Gm-Message-State: AOJu0YyNuIsN7R4rkNFPjyeL5pEAE+mARR07S1WYnYoJ280tXpsz/kAI YYVnY3tdaOOmH6wO6rfFv7VqeEda7CzySQIS7o064FMeHerUcBrPCnzxSvjcP4i48Q3dlkTYQJB p15zUYJWyOEDwrl77EU27kWEO2nBYkAk=
X-Google-Smtp-Source: AGHT+IFokAfOz+Bj0+1COYc1s2zirthf32Q5hb6Qm8akoNQNcgTyGKXcO1ruZnun8QJWjVKcCsG9wTJdpY3hyU/iqJI=
X-Received: by 2002:a17:90a:8041:b0:299:300c:4c71 with SMTP id e1-20020a17090a804100b00299300c4c71mr589091pjw.28.1709268339959; Thu, 29 Feb 2024 20:45:39 -0800 (PST)
MIME-Version: 1.0
References: <26ee2c63cdc2cca64903eaae3699b5c0758ca3a5.camel@poochiereds.net>
In-Reply-To: <26ee2c63cdc2cca64903eaae3699b5c0758ca3a5.camel@poochiereds.net>
From: Rick Macklem <rick.macklem@gmail.com>
Date: Thu, 29 Feb 2024 20:45:24 -0800
Message-ID: <CAM5tNy6VeXaJhsop4MVbd88Oq08yPQhAYCbkHtcEjT0vM1vMkA@mail.gmail.com>
To: Jeff Layton <jlayton@poochiereds.net>
Cc: NFSv4 <nfsv4@ietf.org>, Trond Myklebust <trondmy@hammerspace.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/MVn5LS2dx7UqmZlLydNjrczzhxo>
Subject: Re: [nfsv4] review of "draft-ietf-nfsv4-layrec-00"
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.39
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, 01 Mar 2024 04:45:45 -0000
On Thu, Feb 29, 2024 at 8:09 AM Jeff Layton <jlayton@poochiereds.net> wrote: > > Most of this document looks fine to me, but it has this statement in > section 2: > > "The metadata server MUST NOT have been resilvering the file such > that it has a different layout (set of mirror instances) than the > client before the restart of the metadata server." > > The rationale for this seems clear, but it seems like resilvering the > file while the clients hold any sort of RW layout would be a bad idea, > no? I think this is a good point. It seems to me that, although the MDS can use the LayoutReturn with stateid of all zeros to decide to resilver a file, the actual resilvering cannot start until the MDS's grace period has ended. (Until the grace period ends, the rebooted MDS cannot know that no client is still using a layout, I think? If the MDS has a record of all clients that held a layout for the file before the reboot, then it needs to wait until those clients complete reclaim, but it may be simpler to just delay resilvering until grace is over.) Lets see what Tom thinks? rick > > In any case, adding another sentence or two explaining this requirement > (even if it seems obvious) wouldn't go amiss. > > Aside from that nit, the draft seems fine to me! > > Cheers, > -- > Jeff Layton <jlayton@poochiereds.net> > > _______________________________________________ > nfsv4 mailing list > nfsv4@ietf.org > https://www.ietf.org/mailman/listinfo/nfsv4
- [nfsv4] review of "draft-ietf-nfsv4-layrec-00" Jeff Layton
- Re: [nfsv4] review of "draft-ietf-nfsv4-layrec-00" Rick Macklem
- Re: [nfsv4] review of "draft-ietf-nfsv4-layrec-00" Jeff Layton
- Re: [nfsv4] review of "draft-ietf-nfsv4-layrec-00" Thomas Haynes
- Re: [nfsv4] review of "draft-ietf-nfsv4-layrec-00" Thomas Haynes
- Re: [nfsv4] review of "draft-ietf-nfsv4-layrec-00" David Noveck
- Re: [nfsv4] review of "draft-ietf-nfsv4-layrec-00" Rick Macklem
- Re: [nfsv4] review of "draft-ietf-nfsv4-layrec-00" Jeff Layton
- Re: [nfsv4] review of "draft-ietf-nfsv4-layrec-00" Jeff Layton
- Re: [nfsv4] review of "draft-ietf-nfsv4-layrec-00" Thomas Haynes