diff options
author | phk <phk@FreeBSD.org> | 2000-04-02 15:24:56 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-04-02 15:24:56 +0000 |
commit | 8ee11d587fcf66a50146b00f04bb5db7b955b795 (patch) | |
tree | c184bd0e6c7538049e6b3655c28f4556a7c1a465 /sys/cam/scsi/scsi_pass.c | |
parent | 090fde9a7695bc804b6a26eb67cb706fd805231a (diff) | |
download | FreeBSD-src-8ee11d587fcf66a50146b00f04bb5db7b955b795.zip FreeBSD-src-8ee11d587fcf66a50146b00f04bb5db7b955b795.tar.gz |
Move B_ERROR flag to b_ioflags and call it BIO_ERROR.
(Much of this done by script)
Move B_ORDERED flag to b_ioflags and call it BIO_ORDERED.
Move b_pblkno and b_iodone_chain to struct bio while we transition, they
will be obsoleted once bio structs chain/stack.
Add bio_queue field for struct bio aware disksort.
Address a lot of stylistic issues brought up by bde.
Diffstat (limited to 'sys/cam/scsi/scsi_pass.c')
-rw-r--r-- | sys/cam/scsi/scsi_pass.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/cam/scsi/scsi_pass.c b/sys/cam/scsi/scsi_pass.c index c8f5124..c7cc2cc 100644 --- a/sys/cam/scsi/scsi_pass.c +++ b/sys/cam/scsi/scsi_pass.c @@ -214,7 +214,7 @@ passoninvalidate(struct cam_periph *periph) bufq_remove(&softc->buf_queue, q_bp); q_bp->b_resid = q_bp->b_bcount; q_bp->b_error = ENXIO; - q_bp->b_flags |= B_ERROR; + q_bp->b_ioflags |= BIO_ERROR; biodone(q_bp); } splx(s); @@ -512,7 +512,7 @@ passstrategy(struct buf *bp) return; bad: - bp->b_flags |= B_ERROR; + bp->b_ioflags |= BIO_ERROR; /* * Correctly set the buf to indicate a completed xfer @@ -562,7 +562,7 @@ passstart(struct cam_periph *periph, union ccb *start_ccb) * hang. */ bp->b_error = EIO; - bp->b_flags |= B_ERROR; + bp->b_ioflags |= BIO_ERROR; bp->b_resid = bp->b_bcount; biodone(bp); bp = bufq_first(&softc->buf_queue); @@ -616,7 +616,7 @@ passdone(struct cam_periph *periph, union ccb *done_ccb) * the abort process */ bp->b_error = error; - bp->b_flags |= B_ERROR; + bp->b_ioflags |= BIO_ERROR; } if ((done_ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN) |