1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

Add a few definitions for Flex File Layout for pNFS.

These definitions will be used by a future commit.
This commit is contained in:
Rick Macklem 2017-09-21 00:41:12 +00:00
parent 8c294161aa
commit 6b43e06029
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=323841

View File

@ -176,6 +176,17 @@ struct nfsd_nfsd_args {
int maxthreads; /* maximum service thread count */
};
/*
* 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.
*/