diff options
author | mav <mav@FreeBSD.org> | 2009-12-18 14:41:30 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2009-12-18 14:41:30 +0000 |
commit | c211a09bc5588a81200a081209cda8ccc5ba6373 (patch) | |
tree | c9e118024e7a99c4d68a737ff816742fc017be4a /sys/cam | |
parent | 19ee2b964b9709eff693377561337c93e9ae29ce (diff) | |
download | FreeBSD-src-c211a09bc5588a81200a081209cda8ccc5ba6373.zip FreeBSD-src-c211a09bc5588a81200a081209cda8ccc5ba6373.tar.gz |
Remove duplicate devstat_start_transaction_bio() call. It is already called
from geom_disk. Dulicate call causes wrong queue depth and busy accounting.
Diffstat (limited to 'sys/cam')
-rw-r--r-- | sys/cam/scsi/scsi_cd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/cam/scsi/scsi_cd.c b/sys/cam/scsi/scsi_cd.c index 43b757a..cf99eea 100644 --- a/sys/cam/scsi/scsi_cd.c +++ b/sys/cam/scsi/scsi_cd.c @@ -1464,8 +1464,6 @@ cdstart(struct cam_periph *periph, union ccb *start_ccb) } else { bioq_remove(&softc->bio_queue, bp); - devstat_start_transaction_bio(softc->disk->d_devstat, bp); - scsi_read_write(&start_ccb->csio, /*retries*/cd_retry_count, /* cbfcnp */ cddone, |