Print this page
re #13613 rb4516 Tunables needs volatile keyword
*** 18,27 ****
--- 18,28 ----
*
* CDDL HEADER END
*/
/*
* Copyright (c) 1986, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2013 Nexenta Systems, Inc. All rights reserved.
*/
/*
* Copyright (c) 1983,1984,1985,1986,1987,1988,1989 AT&T.
* All rights reserved.
*** 998,1012 ****
zone_rele(mntzone);
return (error);
}
! static int nfs3_dynamic = 0; /* global variable to enable dynamic retrans. */
! static ushort_t nfs3_max_threads = 8; /* max number of active async threads */
! uint_t nfs3_bsize = 32 * 1024; /* client `block' size */
! static uint_t nfs3_async_clusters = 1; /* # of reqs from each async queue */
! static uint_t nfs3_cots_timeo = NFS_COTS_TIMEO;
static int
nfs3rootvp(vnode_t **rtvpp, vfs_t *vfsp, struct servinfo *svp,
int flags, cred_t *cr, zone_t *zone)
{
--- 999,1013 ----
zone_rele(mntzone);
return (error);
}
! volatile int nfs3_dynamic = 0; /* global variable to enable dynamic retrans. */
! volatile ushort_t nfs3_max_threads = 8; /* max number of active async threads */
! volatile uint_t nfs3_bsize = 32 * 1024; /* client `block' size */
! volatile uint_t nfs3_async_clusters = 1; /* # of reqs from each async queue */
! volatile uint_t nfs3_cots_timeo = NFS_COTS_TIMEO;
static int
nfs3rootvp(vnode_t **rtvpp, vfs_t *vfsp, struct servinfo *svp,
int flags, cred_t *cr, zone_t *zone)
{