Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 May 2010 04:16:39 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r207490 - head/sys/cam
Message-ID:  <201005020416.o424GdVQ042016@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005020416.o424GdVQ042016>