svn commit: r207490 - head/sys/cam

Alexander Motin mav at FreeBSD.org
Sun May 2 04:16:39 UTC 2010


Author: mav
Date: Sun May  2 04:16:39 2010
New Revision: 207490
URL: http://svn.freebsd.org/changeset/base/207490

Log:
  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.
  
  MFC after:	3 days

Modified:
  head/sys/cam/cam_xpt.c

Modified: head/sys/cam/cam_xpt.c
==============================================================================
--- head/sys/cam/cam_xpt.c	Sun May  2 03:28:29 2010	(r207489)
+++ head/sys/cam/cam_xpt.c	Sun May  2 04:16:39 2010	(r207490)
@@ -4874,6 +4874,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-head mailing list