Re: [nfsv4] Possible change to Flex Files layout
Trond Myklebust <trondmy@gmail.com> Wed, 09 March 2016 14:04 UTC
Return-Path: <trondmy@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 15ABA12DE60 for <nfsv4@ietfa.amsl.com>; Wed, 9 Mar 2016 06:04:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-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 ([127.0.0.1]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0rYcPp5_cQJA for <nfsv4@ietfa.amsl.com>; Wed, 9 Mar 2016 06:04:51 -0800 (PST)
Received: from mail-yw0-x22a.google.com (mail-yw0-x22a.google.com [IPv6:2607:f8b0:4002:c05::22a]) (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 E809D12DE93 for <nfsv4@ietf.org>; Wed, 9 Mar 2016 06:04:26 -0800 (PST)
Received: by mail-yw0-x22a.google.com with SMTP id g127so40087032ywf.2 for <nfsv4@ietf.org>; Wed, 09 Mar 2016 06:04:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=AHi8l4IVmO242rH1ERy1AkgMpN7XlX9aj84Dbat3wVI=; b=lihkywnzJCp+vz0ry2FD4EuzLlv7/UKhvPmqdMsweJfN7KHCh3KXdtN33JeLET2z3w GqQIsn4c4ryA3ZkgNoXnf6r3qSc3HKALT2XzFdkLfJd7K5em7nSu+wDUk8e2BDPCGsE+ vvLJNn33ILvFASjoCTOehN2RJz6CH/XOfDk7L0XvBmQRWmBvOq/Gv0R4pB+kGxlDT5qh q1zPIo6P97LbF04gFTzFXxRUcRhLmr2h2p06xG2LphG7Cw61i0HSoiuzDOt1x3zwPJkF H1MFLXSuz8vJPYm7y5WH/v0SdJ4tdnIqL6Ng9+tNc8AulSECjKjpU3LCScAIudtW0Krq TURQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=AHi8l4IVmO242rH1ERy1AkgMpN7XlX9aj84Dbat3wVI=; b=VdMrhJalOAJtrsTOhV2p5QVy9mvhjuZUxndlDG3t3eVzRg4aLd0cWudTqtp4Bomepw CF34Z2GZZxcmOkxzhGpRQm//gG8b6Atd6O5uH2x+A4r/P1rc/ebY/+sfOJpajgQg2GZx VejRg43r1IZbt05+q/2MAcqIlyv+00jP/2Rx/Q1H7iEefoOyxYMePvugylby3OtfUrim +yQxh7lFwuh054ORdQk6svAQwL5ORDnJXyj6BnYfN6RM9kAojmUyQu9TMAOTHICsrynQ kV4P+tnoXYEJsQSwe9ir2+O06i9ud4VXNf4V0+v8ASnLyd1/aCVX4OYcZYg1lo5IDVjv E7nA==
X-Gm-Message-State: AD7BkJL5QZxRIi6EjHmBhy4v+8d2viRQl5B25DKJuMgkt4+3gyl5RYM1XAXiRrxe5FbOFFb7oNXGHtR3EHQIJQ==
MIME-Version: 1.0
X-Received: by 10.13.210.7 with SMTP id u7mr18320482ywd.100.1457532266166; Wed, 09 Mar 2016 06:04:26 -0800 (PST)
Received: by 10.37.16.86 with HTTP; Wed, 9 Mar 2016 06:04:25 -0800 (PST)
In-Reply-To: <1244659329.10251491.1457494754382.JavaMail.zimbra@uoguelph.ca>
References: <1244659329.10251491.1457494754382.JavaMail.zimbra@uoguelph.ca>
Date: Wed, 09 Mar 2016 09:04:25 -0500
Message-ID: <CAABAsM7hN_FSC7VUCvjOpCoJvii0PK7LvJjFy1u_dRiDtzxNZQ@mail.gmail.com>
From: Trond Myklebust <trondmy@gmail.com>
To: Rick Macklem <rmacklem@uoguelph.ca>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <http://mailarchive.ietf.org/arch/msg/nfsv4/ayF0PJfmifA7-onrNrC9ntD81XU>
Cc: nfsv4 <nfsv4@ietf.org>
Subject: Re: [nfsv4] Possible change to Flex Files layout
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.17
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: Wed, 09 Mar 2016 14:04:55 -0000
Hi Rick, On Tue, Mar 8, 2016 at 10:39 PM, Rick Macklem <rmacklem@uoguelph.ca> wrote: > Hi, > > I am building an NFSv4.1 pNFS for FreeBSD using Flex Files and > I've run into a case where it would be nice to make a small > addition to the layout. > > I have a case where the files are replicated over K of the N > servers in the cluster. Which K of the N is on a per file basis. > (I am using GlusterFS as a backend and this is its replication > strategy, if I understand it correctly.) > > When there are replicas, the files are basically mirrored, but > writes only need to be done to one of the replicas/mirrors. > (Again, if I understand what GlusterFS does.) > > -- So, what do others think of adding a boolean for the layout > that says "only one mirror needs to be written VS all mirrors > need to be written". > > I can live without this, but I think I would find it useful and > I don't see a problem with adding it. > > Thanks for your consideration of this, rick I don't see any major problems with this request. We have the ffl_flags field in the layout, and so adding a flag for this would be trivial, and could be done without breaking existing clients. Those existing implementations would presumably be inefficient, since they would ignore the flag, and continue to write to all mirrors, but they would not break. One question I have, though, is how this would affect the ffds_efficiency? The current expectation for that field is that it applies only to the mirrored read case, where you want to select one of many mirrors. Wouldn't we also want to extend that scope of that field so that it can apply to writes? Either way I think we'd need a proposal for how we might modify the description in https://tools.ietf.org/html/draft-ietf-nfsv4-flex-files-06#section-8.1 Cheers Trond
- [nfsv4] Possible change to Flex Files layout Rick Macklem
- Re: [nfsv4] Possible change to Flex Files layout Trond Myklebust
- Re: [nfsv4] Possible change to Flex Files layout Rick Macklem
- Re: [nfsv4] Possible change to Flex Files layout Benny Halevy
- Re: [nfsv4] Possible change to Flex Files layout Rick Macklem
- Re: [nfsv4] Possible change to Flex Files layout Benny Halevy
- Re: [nfsv4] Possible change to Flex Files layout Rick Macklem
- Re: [nfsv4] Possible change to Flex Files layout Benny Halevy
- Re: [nfsv4] Possible change to Flex Files layout David Noveck
- Re: [nfsv4] Possible change to Flex Files layout Matt Benjamin
- Re: [nfsv4] Possible change to Flex Files layout Rick Macklem
- Re: [nfsv4] Possible change to Flex Files layout Rick Macklem
- Re: [nfsv4] Possible change to Flex Files layout Benny Halevy
- Re: [nfsv4] Possible change to Flex Files layout Rick Macklem
- Re: [nfsv4] Possible change to Flex Files layout Trond Myklebust
- Re: [nfsv4] Possible change to Flex Files layout Thomas Haynes
- Re: [nfsv4] Possible change to Flex Files layout David Noveck
- Re: [nfsv4] Possible change to Flex Files layout Rick Macklem