svn commit: r323841 - head/sys/fs/nfs

Rick Macklem rmacklem at FreeBSD.org
Thu Sep 21 00:41:13 UTC 2017


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 {


More information about the svn-src-head mailing list