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

Rick Macklem rmacklem at FreeBSD.org
Sat Jun 9 23:15:00 UTC 2018


Author: rmacklem
Date: Sat Jun  9 23:14:59 2018
New Revision: 334902
URL: https://svnweb.freebsd.org/changeset/base/334902

Log:
  Delete an unused macro and clean up a comment about it.
  
  NFSDEV_MIRRORSTR was defined for the pNFS server, but has not been used,
  so this patch deletes it. It also cleans up the comment and hopefully
  makes it more readable.

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

Modified: head/sys/fs/nfs/nfs.h
==============================================================================
--- head/sys/fs/nfs/nfs.h	Sat Jun  9 23:08:02 2018	(r334901)
+++ head/sys/fs/nfs/nfs.h	Sat Jun  9 23:14:59 2018	(r334902)
@@ -179,13 +179,10 @@ 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_MAXMIRRORS - Maximum level of mirroring for a DS.
+ * (Most will only put files on two DSs, but this setting allows up to 4.)
  * NFSDEV_MAXVERS - maximum number of NFS versions supported by Flex File.
  */
-#define	NFSDEV_MIRRORSTR	3
 #define	NFSDEV_MAXMIRRORS	4
 #define	NFSDEV_MAXVERS		4
 


More information about the svn-src-all mailing list