Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Sep 2017 00:41:12 +0000 (UTC)
From:      Rick Macklem <rmacklem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r323841 - head/sys/fs/nfs
Message-ID:  <201709210041.v8L0fCIE036143@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rmacklem
Date: Thu Sep 21 00:41:12 2017
New Revision: 323841
URL: https://svnweb.freebsd.org/changeset/base/323841

Log:
  Add a few definitions for Flex File Layout for pNFS.
  
  These definitions will be used by a future commit.

Modified:
  head/sys/fs/nfs/nfs.h

Modified: head/sys/fs/nfs/nfs.h
==============================================================================
--- head/sys/fs/nfs/nfs.h	Thu Sep 21 00:03:59 2017	(r323840)
+++ head/sys/fs/nfs/nfs.h	Thu Sep 21 00:41:12 2017	(r323841)
@@ -177,6 +177,17 @@ struct nfsd_nfsd_args {
 };
 
 /*
+ * NFSDEV_MIRRORSTR - string of digits that number the DSs 0->999.
+ * (To support more than 1000 DSs on an MDS, this needs to be increased.)
+ * NFSDEV_MAXMIRRORS - Maximum # of mirrors for a DS.
+ * (Most will only have a single mirror, but this setting allows up to 3.)
+ * NFSDEV_MAXVERS - maximum number of NFS versions supported by Flex File.
+ */
+#define	NFSDEV_MIRRORSTR	3
+#define	NFSDEV_MAXMIRRORS	4
+#define	NFSDEV_MAXVERS		4
+
+/*
  * Arguments for use by the callback daemon.
  */
 struct nfsd_nfscbd_args {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709210041.v8L0fCIE036143>