diff options
| author | Greg Lehey <grog@FreeBSD.org> | 2000-06-07 04:12:39 +0000 |
|---|---|---|
| committer | Greg Lehey <grog@FreeBSD.org> | 2000-06-07 04:12:39 +0000 |
| commit | 86ed2265061c35c0569ddf904cdaeef3f2830727 (patch) | |
| tree | b1452233eaf0382bc6f6ea99049c8b88fa33f0c1 | |
| parent | 9a9b24fca00b57400a70edc171c5082fc06b1d31 (diff) | |
Notes
| -rw-r--r-- | sbin/vinum/v.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sbin/vinum/v.c b/sbin/vinum/v.c index eb2dda6daa45..6e392056a5b2 100644 --- a/sbin/vinum/v.c +++ b/sbin/vinum/v.c @@ -769,6 +769,12 @@ continue_revive(int sdno) message->index = sdno; /* pass sd number */ message->type = sd_object; /* and type of object */ message->state = object_up; + if (SSize != 0) { /* specified a size for init */ + if (SSize < 512) + SSize <<= DEV_BSHIFT; + message->blocksize = SSize; + } else + message->blocksize = DEFAULT_REVIVE_BLOCKSIZE; ioctl(superdev, VINUM_SETSTATE, message); } if (reply.error) { |
