Remove duplicate devstat_start_transaction_bio() call. It is already called

from geom_disk. Dulicate call causes wrong queue depth and busy accounting.
This commit is contained in:
Alexander Motin 2009-12-18 14:41:30 +00:00
parent 9ae781dfcf
commit 7485a8eb62

View File

@ -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,