Decrease default stripe size to 4k, as we have "FAST" mode turned on by

default.
This commit is contained in:
Pawel Jakub Dawidek 2004-07-09 14:41:51 +00:00
parent 4c55f05b89
commit 2d3dab54ee
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131879
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ __FBSDID("$FreeBSD$");
uint32_t lib_version = G_LIB_VERSION; uint32_t lib_version = G_LIB_VERSION;
uint32_t version = G_STRIPE_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_main(struct gctl_req *req, unsigned flags);
static void stripe_label(struct gctl_req *req); static void stripe_label(struct gctl_req *req);

View File

@ -145,7 +145,7 @@ Be more verbose.
The following example shows how to set up striped device from four disks 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: for automatic configuration, create a file system on it, and mount it:
.Bd -literal -offset indent .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 newfs /dev/data.stripe
mount /dev/data.stripe /mnt mount /dev/data.stripe /mnt
[...] [...]