svn commit: r200978 - stable/8/sys/cam/scsi

Alexander Motin mav at FreeBSD.org
Fri Dec 25 08:06:36 UTC 2009


Author: mav
Date: Fri Dec 25 08:06:35 2009
New Revision: 200978
URL: http://svn.freebsd.org/changeset/base/200978

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/8/sys/cam/scsi/scsi_cd.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/cam/scsi/scsi_cd.c
==============================================================================
--- stable/8/sys/cam/scsi/scsi_cd.c	Fri Dec 25 07:59:31 2009	(r200977)
+++ stable/8/sys/cam/scsi/scsi_cd.c	Fri Dec 25 08:06:35 2009	(r200978)
@@ -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-stable-8 mailing list