diff options
author | pjd <pjd@FreeBSD.org> | 2004-08-11 12:57:17 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2004-08-11 12:57:17 +0000 |
commit | 1f559bc298988799e85f3addb028787b98363d50 (patch) | |
tree | cb7c9e3eef6eda7a825a946dcc2626836adf3101 /sys/geom/stripe | |
parent | 2dba36f65bafd8a45d2ec1751088fcec1999998c (diff) | |
download | FreeBSD-src-1f559bc298988799e85f3addb028787b98363d50.zip FreeBSD-src-1f559bc298988799e85f3addb028787b98363d50.tar.gz |
Increase default kern.geom.stripe.maxmem to 50 elements.
Diffstat (limited to 'sys/geom/stripe')
-rw-r--r-- | sys/geom/stripe/g_stripe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/stripe/g_stripe.c b/sys/geom/stripe/g_stripe.c index e79d203..80d4f47 100644 --- a/sys/geom/stripe/g_stripe.c +++ b/sys/geom/stripe/g_stripe.c @@ -86,7 +86,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 * 10; +static u_int g_stripe_maxmem = MAX_IO_SIZE * 50; 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)"); |