--- src/sys/dev/raid/vinum/vinumrequest.c 2006/07/05 22:46:42 1.13 +++ src/sys/dev/raid/vinum/vinumrequest.c 2006/07/06 23:36:29 1.14 @@ -37,7 +37,7 @@ * otherwise) arising in any way out of the use of this software, even if * advised of the possibility of such damage. * - * $Id: vinumrequest.c,v 1.13 2006/07/05 22:46:42 dillon Exp $ + * $Id: vinumrequest.c,v 1.14 2006/07/06 23:36:29 corecode Exp $ * $FreeBSD: src/sys/dev/vinum/vinumrequest.c,v 1.44.2.5 2002/08/28 04:30:56 grog Exp $ * $DragonFly$ */ @@ -947,6 +947,7 @@ sdio(struct bio *bio) sddev = DRIVE[sd->driveno].dev; /* device */ bzero(sbp, sizeof(struct sdbuf)); /* start with nothing */ sbp->b.b_flags = bp->b_flags | B_PAGING; + sbp->b.b_cmd = bp->b_cmd; sbp->b.b_bcount = bp->b_bcount; /* number of bytes to transfer */ sbp->b.b_resid = bp->b_resid; /* and amount waiting */ sbp->b.b_data = bp->b_data; /* data buffer */