Date: Sat, 9 Jun 2018 23:14:59 +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: r334902 - head/sys/fs/nfs Message-ID: <201806092314.w59NExGv086316@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806092314.w59NExGv086316>