[nfsv4] Possible change to Flex Files layout

Rick Macklem <rmacklem@uoguelph.ca> Wed, 09 March 2016 03:39 UTC

Return-Path: <rmacklem@uoguelph.ca>
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 9154B12DE22 for <nfsv4@ietfa.amsl.com>; Tue, 8 Mar 2016 19:39:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.323
X-Spam-Level:
X-Spam-Status: No, score=-2.323 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 rhDddlfyenwP for <nfsv4@ietfa.amsl.com>; Tue, 8 Mar 2016 19:39:16 -0800 (PST)
Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by ietfa.amsl.com (Postfix) with ESMTP id 4DFE812DE1A for <nfsv4@ietf.org>; Tue, 8 Mar 2016 19:39:15 -0800 (PST)
IronPort-PHdr: 9a23:ydui/x+e6cWbO/9uRHKM819IXTAuvvDOBiVQ1KB91+scTK2v8tzYMVDF4r011RmSDdqdu68P1rqempujcFJDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXsq3G/pQQfBg/4fVIsYL+lRciC0o/qh6ibwN76XUZhvHKFe7R8LRG7/036l/I9ps9cEJs30QbDuXBSeu5blitCLFOXmAvgtI/rpMYwu3cYh/V08cBbT/myK6I2VqIEJDUrL25z49fk40rtVwyKs0EdWWZetxNDAAzI6VmuRJL4uSj+u+9VxS6VIMDyVbByUj30vPQjcwPhlCpSb21xy2rQkMEl1K8=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A2DNAQAvmt9W/61jaINchH+6WgENgWmGD4IEFAEBAQEBAQEBYyeCLYIbI2gBIgINGQJbBIg3oBiPXY8tDB57hRyBe4oBgToFjiWJBoEjm0iOWAIeAQFChAIeiS9+AQEB
X-IronPort-AV: E=Sophos;i="5.22,559,1449550800"; d="scan'208";a="269940372"
Received: from nipigon.cs.uoguelph.ca (HELO zcs1.mail.uoguelph.ca) ([131.104.99.173]) by esa-jnhn.mail.uoguelph.ca with ESMTP; 08 Mar 2016 22:39:14 -0500
Received: from localhost (localhost [127.0.0.1]) by zcs1.mail.uoguelph.ca (Postfix) with ESMTP id F19D715F574 for <nfsv4@ietf.org>; Tue, 8 Mar 2016 22:39:14 -0500 (EST)
Received: from zcs1.mail.uoguelph.ca ([127.0.0.1]) by localhost (zcs1.mail.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id o8sn7hyVqGKw for <nfsv4@ietf.org>; Tue, 8 Mar 2016 22:39:14 -0500 (EST)
Received: from localhost (localhost [127.0.0.1]) by zcs1.mail.uoguelph.ca (Postfix) with ESMTP id 8D43715F571 for <nfsv4@ietf.org>; Tue, 8 Mar 2016 22:39:14 -0500 (EST)
X-Virus-Scanned: amavisd-new at zcs1.mail.uoguelph.ca
Received: from zcs1.mail.uoguelph.ca ([127.0.0.1]) by localhost (zcs1.mail.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 5TmgHmEGa_7L for <nfsv4@ietf.org>; Tue, 8 Mar 2016 22:39:14 -0500 (EST)
Received: from zcs1.mail.uoguelph.ca (zcs1.mail.uoguelph.ca [172.17.95.18]) by zcs1.mail.uoguelph.ca (Postfix) with ESMTP id 719D315F56D for <nfsv4@ietf.org>; Tue, 8 Mar 2016 22:39:14 -0500 (EST)
Date: Tue, 08 Mar 2016 22:39:14 -0500
From: Rick Macklem <rmacklem@uoguelph.ca>
To: nfsv4 <nfsv4@ietf.org>
Message-ID: <1244659329.10251491.1457494754382.JavaMail.zimbra@uoguelph.ca>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [172.17.95.10]
X-Mailer: Zimbra 8.0.9_GA_6191 (ZimbraWebClient - FF44 (Win)/8.0.9_GA_6191)
Thread-Topic: Possible change to Flex Files layout
Thread-Index: WOzW5XSWvPwgKYimQbCkZPlyDWGS2A==
Archived-At: <http://mailarchive.ietf.org/arch/msg/nfsv4/KbR98SYVTBMpNLjHWZ4M0B4a1xY>
Subject: [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 03:39:17 -0000

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