svn commit: r201721 - stable/7/sys/cam/scsi

Alexander Motin mav at FreeBSD.org
Thu Jan 7 09:21:14 UTC 2010


Author: mav
Date: Thu Jan  7 09:21:13 2010
New Revision: 201721
URL: http://svn.freebsd.org/changeset/base/201721

Log:
  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.

Modified:
  stable/7/sys/cam/scsi/scsi_cd.c
Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/cddl/contrib/opensolaris/   (props changed)
  stable/7/sys/contrib/dev/acpica/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/cam/scsi/scsi_cd.c
==============================================================================
--- stable/7/sys/cam/scsi/scsi_cd.c	Thu Jan  7 09:07:51 2010	(r201720)
+++ stable/7/sys/cam/scsi/scsi_cd.c	Thu Jan  7 09:21:13 2010	(r201721)
@@ -1454,8 +1454,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