Only offset raid disks > 1 on the HPT, this should solve the

boot problems..
However this demands that dangerously dedicated disks use an
offset of at least 10 from the start to not overwrite the
raid config sector on the HPT...
This commit is contained in:
Søren Schmidt 2000-11-12 20:45:14 +00:00
parent 07296bbba1
commit 0cdc179319

View File

@ -208,7 +208,8 @@ arstrategy(struct bio *bp)
chunk = count;
}
buf1->bp.bio_pblkno += rdp->offset;
if (buf1->drive > 0)
buf1->bp.bio_pblkno += rdp->offset;
buf1->bp.bio_caller1 = (void *)rdp;
buf1->bp.bio_bcount = chunk * DEV_BSIZE;
buf1->bp.bio_data = data;