svn commit: r200668 - head/sys/cam/scsi

Alexander Motin mav at FreeBSD.org
Fri Dec 18 14:41:31 UTC 2009


Author: mav
Date: Fri Dec 18 14:41:30 2009
New Revision: 200668
URL: http://svn.freebsd.org/changeset/base/200668

Log:
  Remove duplicate devstat_start_transaction_bio() call. It is already called
  from geom_disk. Dulicate call causes wrong queue depth and busy accounting.

Modified:
  head/sys/cam/scsi/scsi_cd.c

Modified: head/sys/cam/scsi/scsi_cd.c
==============================================================================
--- head/sys/cam/scsi/scsi_cd.c	Fri Dec 18 14:27:18 2009	(r200667)
+++ head/sys/cam/scsi/scsi_cd.c	Fri Dec 18 14:41:30 2009	(r200668)
@@ -1464,8 +1464,6 @@ cdstart(struct cam_periph *periph, union
 		} 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,


More information about the svn-src-all mailing list