nfs: add missing CLTFLAG_MPSAFE annotations
This commit is contained in:
parent
388820fbef
commit
7493134e08
@ -187,9 +187,9 @@ sysctl_tcphighwater(SYSCTL_HANDLER_ARGS)
|
||||
nfsrc_tcphighwater = newhighwater;
|
||||
return (0);
|
||||
}
|
||||
SYSCTL_PROC(_vfs_nfsd, OID_AUTO, tcphighwater, CTLTYPE_UINT | CTLFLAG_RW, 0,
|
||||
sizeof(nfsrc_tcphighwater), sysctl_tcphighwater, "IU",
|
||||
"High water mark for TCP cache entries");
|
||||
SYSCTL_PROC(_vfs_nfsd, OID_AUTO, tcphighwater,
|
||||
CTLTYPE_UINT | CTLFLAG_MPSAFE | CTLFLAG_RW, 0, sizeof(nfsrc_tcphighwater),
|
||||
sysctl_tcphighwater, "IU", "High water mark for TCP cache entries");
|
||||
|
||||
static u_int nfsrc_udphighwater = NFSRVCACHE_UDPHIGHWATER;
|
||||
SYSCTL_UINT(_vfs_nfsd, OID_AUTO, udphighwater, CTLFLAG_RW,
|
||||
|
@ -188,9 +188,9 @@ sysctl_dsdirsize(SYSCTL_HANDLER_ARGS)
|
||||
nfsrv_dsdirsize = newdsdirsize;
|
||||
return (0);
|
||||
}
|
||||
SYSCTL_PROC(_vfs_nfsd, OID_AUTO, dsdirsize, CTLTYPE_UINT | CTLFLAG_RW, 0,
|
||||
sizeof(nfsrv_dsdirsize), sysctl_dsdirsize, "IU",
|
||||
"Number of dsN subdirs on the DS servers");
|
||||
SYSCTL_PROC(_vfs_nfsd, OID_AUTO, dsdirsize,
|
||||
CTLTYPE_UINT | CTLFLAG_MPSAFE | CTLFLAG_RW, 0, sizeof(nfsrv_dsdirsize),
|
||||
sysctl_dsdirsize, "IU", "Number of dsN subdirs on the DS servers");
|
||||
|
||||
#define MAX_REORDERED_RPC 16
|
||||
#define NUM_HEURISTIC 1031
|
||||
|
Loading…
Reference in New Issue
Block a user