diff options
author | pjd <pjd@FreeBSD.org> | 2004-12-09 12:26:47 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2004-12-09 12:26:47 +0000 |
commit | 3342c80c8fb09cce70131f496174f58caa2279e8 (patch) | |
tree | 48932893768f79c588c39a6981a2279549b4055e /sys/geom | |
parent | 488882b3e93b211a6c11807cae679fe0ba14ca7c (diff) | |
download | FreeBSD-src-3342c80c8fb09cce70131f496174f58caa2279e8.zip FreeBSD-src-3342c80c8fb09cce70131f496174f58caa2279e8.tar.gz |
- Turn off 'fast' mode by default and increase maximum memory to consume
when this mode is used.
- Manual page update.
Diffstat (limited to 'sys/geom')
-rw-r--r-- | sys/geom/stripe/g_stripe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/geom/stripe/g_stripe.c b/sys/geom/stripe/g_stripe.c index 647316b..57438e3 100644 --- a/sys/geom/stripe/g_stripe.c +++ b/sys/geom/stripe/g_stripe.c @@ -72,7 +72,7 @@ static u_int g_stripe_debug = 0; TUNABLE_INT("kern.geom.stripe.debug", &g_stripe_debug); SYSCTL_UINT(_kern_geom_stripe, OID_AUTO, debug, CTLFLAG_RW, &g_stripe_debug, 0, "Debug level"); -static int g_stripe_fast = 1; +static int g_stripe_fast = 0; TUNABLE_INT("kern.geom.stripe.fast", &g_stripe_fast); static int g_sysctl_stripe_fast(SYSCTL_HANDLER_ARGS) @@ -87,7 +87,7 @@ g_sysctl_stripe_fast(SYSCTL_HANDLER_ARGS) } SYSCTL_PROC(_kern_geom_stripe, OID_AUTO, fast, CTLTYPE_INT | CTLFLAG_RW, NULL, 0, g_sysctl_stripe_fast, "I", "Fast, but memory-consuming, mode"); -static u_int g_stripe_maxmem = MAX_IO_SIZE * 50; +static u_int g_stripe_maxmem = MAX_IO_SIZE * 100; TUNABLE_INT("kern.geom.stripe.maxmem", &g_stripe_maxmem); SYSCTL_UINT(_kern_geom_stripe, OID_AUTO, maxmem, CTLFLAG_RD, &g_stripe_maxmem, 0, "Maximum memory that can be allocated in \"fast\" mode (in bytes)"); |