diff options
author | pjd <pjd@FreeBSD.org> | 2004-07-09 14:41:51 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2004-07-09 14:41:51 +0000 |
commit | 2210d0e6071bcbdbbfe8bed564cd4e0ce7d285b9 (patch) | |
tree | 1272cb73a322a32f346dcd5389c0fc4e93a04379 /sbin/geom/class | |
parent | 227209a4dab50a9d07ecccb9250eaf351858312e (diff) | |
download | FreeBSD-src-2210d0e6071bcbdbbfe8bed564cd4e0ce7d285b9.zip FreeBSD-src-2210d0e6071bcbdbbfe8bed564cd4e0ce7d285b9.tar.gz |
Decrease default stripe size to 4k, as we have "FAST" mode turned on by
default.
Diffstat (limited to 'sbin/geom/class')
-rw-r--r-- | sbin/geom/class/stripe/geom_stripe.c | 2 | ||||
-rw-r--r-- | 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 0ed77c8..cde7613 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 ef81c14..7d3143f 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 [...] |