--- src/sys/dev/raid/vinum/vinuminterrupt.c 2003/08/07 21:17:09 1.3 +++ src/sys/dev/raid/vinum/vinuminterrupt.c 2005/09/16 04:34:13 1.3.2.1 @@ -39,7 +39,7 @@ * otherwise) arising in any way out of the use of this software, even if * advised of the possibility of such damage. * - * $Id: vinuminterrupt.c,v 1.3 2003/08/07 21:17:09 dillon Exp $ + * $Id: vinuminterrupt.c,v 1.3.2.1 2005/09/16 04:34:13 dillon Exp $ * $FreeBSD: src/sys/dev/vinum/vinuminterrupt.c,v 1.25.2.3 2001/05/28 05:56:27 grog Exp $ * $DragonFly$ */ @@ -393,6 +393,7 @@ complete_raid5_write(struct rqelement *r rqe->b.b_bufsize = rqe->b.b_bcount; /* don't claim more */ rqe->b.b_resid = rqe->b.b_bcount; /* nothing transferred */ rqe->b.b_blkno += rqe->dataoffset; /* point to the correct block */ + rqe->b.b_dev = DRIVE[rqe->driveno].dev; rqg->active++; /* another active request */ drive = &DRIVE[rqe->driveno]; /* drive to access */ @@ -431,6 +432,7 @@ complete_raid5_write(struct rqelement *r rqe->b.b_bcount = rqe->buflen << DEV_BSHIFT; /* length to write */ rqe->b.b_bufsize = rqe->b.b_bcount; /* don't claim we have more */ rqe->b.b_resid = rqe->b.b_bcount; /* nothing transferred */ + rqe->b.b_dev = DRIVE[rqe->driveno].dev; rqg->active++; /* another active request */ drive = &DRIVE[rqe->driveno]; /* drive to access */