MFC r200668:

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-25 08:06:35 +00:00
parent 29b0c308e2
commit f0e624adf8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/8/; revision=200978

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,