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:
sos 2000-11-12 20:45:14 +00:00
parent 15f490d900
commit 0571ec7a43

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;