svn commit: r207646 - stable/8/sys/cam

Alexander Motin mav at FreeBSD.org
Wed May 5 05:11:13 UTC 2010


Author: mav
Date: Wed May  5 05:11:12 2010
New Revision: 207646
URL: http://svn.freebsd.org/changeset/base/207646

Log:
  MFC r207490:
  Add xpt_schedule_dev_sendq() call, lost at r203108. It is not needed in
  usual operation, but required in some conditions to make queue running
  after being shrinked.

Modified:
  stable/8/sys/cam/cam_xpt.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)
  stable/8/sys/geom/sched/   (props changed)

Modified: stable/8/sys/cam/cam_xpt.c
==============================================================================
--- stable/8/sys/cam/cam_xpt.c	Wed May  5 04:37:45 2010	(r207645)
+++ stable/8/sys/cam/cam_xpt.c	Wed May  5 05:11:12 2010	(r207646)
@@ -4809,6 +4809,8 @@ camisr_runqueue(void *V_queue)
 			if ((dev->flags & CAM_DEV_TAG_AFTER_COUNT) != 0
 			 && (--dev->tag_delay_count == 0))
 				xpt_start_tags(ccb_h->path);
+			if (!device_is_send_queued(dev))
+				xpt_schedule_dev_sendq(ccb_h->path->bus, dev);
 		}
 
 		if (ccb_h->status & CAM_RELEASE_SIMQ) {


More information about the svn-src-all mailing list