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:
parent
c2971789cc
commit
615c8b9aa9
@ -208,7 +208,8 @@ arstrategy(struct bio *bp)
|
|||||||
chunk = count;
|
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_caller1 = (void *)rdp;
|
||||||
buf1->bp.bio_bcount = chunk * DEV_BSIZE;
|
buf1->bp.bio_bcount = chunk * DEV_BSIZE;
|
||||||
buf1->bp.bio_data = data;
|
buf1->bp.bio_data = data;
|
||||||
|
Loading…
Reference in New Issue
Block a user