summaryrefslogtreecommitdiffstats
path: root/sys/cam/scsi
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-03-15 10:50:44 +0000
committerphk <phk@FreeBSD.org>2003-03-15 10:50:44 +0000
commitd41f2cb2dc9b0a483a4e836e53bf9f71b26f5f46 (patch)
treedc4450a4bf44ffe8935872c36c65d91fd23becc1 /sys/cam/scsi
parent0e540e1b29ca198f58e003442d26e3c285ef5483 (diff)
downloadFreeBSD-src-d41f2cb2dc9b0a483a4e836e53bf9f71b26f5f46.zip
FreeBSD-src-d41f2cb2dc9b0a483a4e836e53bf9f71b26f5f46.tar.gz
Call devstat_start_transaction_bio() instead of devstat_start_transaction()
Diffstat (limited to 'sys/cam/scsi')
-rw-r--r--sys/cam/scsi/scsi_cd.c2
-rw-r--r--sys/cam/scsi/scsi_pt.c2
-rw-r--r--sys/cam/scsi/scsi_sa.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/cam/scsi/scsi_cd.c b/sys/cam/scsi/scsi_cd.c
index 0472e81..bbe33ec 100644
--- a/sys/cam/scsi/scsi_cd.c
+++ b/sys/cam/scsi/scsi_cd.c
@@ -1507,7 +1507,7 @@ cdstart(struct cam_periph *periph, union ccb *start_ccb)
} else {
bioq_remove(&softc->bio_queue, bp);
- devstat_start_transaction(softc->device_stats);
+ devstat_start_transaction_bio(softc->device_stats, bp);
scsi_read_write(&start_ccb->csio,
/*retries*/4,
diff --git a/sys/cam/scsi/scsi_pt.c b/sys/cam/scsi/scsi_pt.c
index c02a426..280093a 100644
--- a/sys/cam/scsi/scsi_pt.c
+++ b/sys/cam/scsi/scsi_pt.c
@@ -502,7 +502,7 @@ ptstart(struct cam_periph *periph, union ccb *start_ccb)
bioq_remove(&softc->bio_queue, bp);
- devstat_start_transaction(softc->device_stats);
+ devstat_start_transaction_bio(softc->device_stats, bp);
scsi_send_receive(&start_ccb->csio,
/*retries*/4,
diff --git a/sys/cam/scsi/scsi_sa.c b/sys/cam/scsi/scsi_sa.c
index 3a8a03a..acf5acf 100644
--- a/sys/cam/scsi/scsi_sa.c
+++ b/sys/cam/scsi/scsi_sa.c
@@ -1620,7 +1620,7 @@ again:
CAM_DEBUG(start_ccb->ccb_h.path, CAM_DEBUG_INFO,
("Variable Record Count is %d\n", length));
}
- devstat_start_transaction(softc->device_stats);
+ devstat_start_transaction_bio(softc->device_stats, bp);
/*
* Some people have theorized that we should
* suppress illegal length indication if we are
OpenPOWER on IntegriCloud