aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/vinum
diff options
context:
space:
mode:
authorGreg Lehey <grog@FreeBSD.org>2003-12-15 00:45:53 +0000
committerGreg Lehey <grog@FreeBSD.org>2003-12-15 00:45:53 +0000
commit458252a742bd4aa4caba0f5d639ae27b47eb2b52 (patch)
treef1722b3d093d9e997872ab9b131ac7ef718ae521 /sys/dev/vinum
parent80d23b96699e6d7461bc08a8890c7b01c0183bc3 (diff)
Notes
Diffstat (limited to 'sys/dev/vinum')
-rw-r--r--sys/dev/vinum/vinumrevive.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/vinum/vinumrevive.c b/sys/dev/vinum/vinumrevive.c
index 951c30aff796..59a91a9bc01a 100644
--- a/sys/dev/vinum/vinumrevive.c
+++ b/sys/dev/vinum/vinumrevive.c
@@ -535,11 +535,7 @@ initsd(int sdno, int verify)
vol = NULL;
if (sd->init_blocksize == 0) {
- if (plex->stripesize != 0) /* we're striped, don't init more than */
- sd->init_blocksize = min(DEFAULT_REVIVE_BLOCKSIZE, /* one block at a time */
- plex->stripesize << DEV_BSHIFT);
- else
- sd->init_blocksize = DEFAULT_REVIVE_BLOCKSIZE;
+ sd->init_blocksize = DEFAULT_REVIVE_BLOCKSIZE;
} else if (sd->init_blocksize > MAX_REVIVE_BLOCKSIZE)
sd->init_blocksize = MAX_REVIVE_BLOCKSIZE;