From 2d3dab54eef6c2eb1eea0005a04873e25b2b4392 Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Fri, 9 Jul 2004 14:41:51 +0000 Subject: [PATCH] Decrease default stripe size to 4k, as we have "FAST" mode turned on by default. --- sbin/geom/class/stripe/geom_stripe.c | 2 +- sbin/geom/class/stripe/gstripe.8 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/geom/class/stripe/geom_stripe.c b/sbin/geom/class/stripe/geom_stripe.c index 0ed77c86a5d8..cde761380893 100644 --- a/sbin/geom/class/stripe/geom_stripe.c +++ b/sbin/geom/class/stripe/geom_stripe.c @@ -45,7 +45,7 @@ __FBSDID("$FreeBSD$"); uint32_t lib_version = G_LIB_VERSION; uint32_t version = G_STRIPE_VERSION; -static intmax_t stripesize = 65536; +static intmax_t stripesize = 4096; static void stripe_main(struct gctl_req *req, unsigned flags); static void stripe_label(struct gctl_req *req); diff --git a/sbin/geom/class/stripe/gstripe.8 b/sbin/geom/class/stripe/gstripe.8 index ef81c14cc2ab..7d3143f39b79 100644 --- a/sbin/geom/class/stripe/gstripe.8 +++ b/sbin/geom/class/stripe/gstripe.8 @@ -145,7 +145,7 @@ Be more verbose. The following example shows how to set up striped device from four disks for automatic configuration, create a file system on it, and mount it: .Bd -literal -offset indent -gstripe label -v -s 65536 data /dev/da0 /dev/da1 /dev/da2 /dev/da3 +gstripe label -v -s 4096 data /dev/da0 /dev/da1 /dev/da2 /dev/da3 newfs /dev/data.stripe mount /dev/data.stripe /mnt [...]