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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=200668

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,