PERFORCE change 173356 for review

Alexander Motin mav at FreeBSD.org
Tue Jan 19 07:12:58 UTC 2010


http://p4web.freebsd.org/chv.cgi?CH=173356

Change 173356 by mav at mav_mavtest on 2010/01/19 07:12:23

	Add compatibility for RL-unaware code.

Affected files ...

.. //depot/projects/scottl-camlock/src/sys/cam/cam_xpt.c#139 edit

Differences ...

==== //depot/projects/scottl-camlock/src/sys/cam/cam_xpt.c#139 (text+ko) ====

@@ -2485,6 +2485,9 @@
 	CAM_DEBUG(start_ccb->ccb_h.path, CAM_DEBUG_TRACE, ("xpt_action\n"));
 
 	start_ccb->ccb_h.status = CAM_REQ_INPROG;
+	/* Compatibility for RL-unaware code. */
+	if (CAM_PRIORITY_TO_RL(start_ccb->ccb_h.pinfo.priority) == 0)
+	    start_ccb->ccb_h.pinfo.priority += CAM_PRIORITY_NORMAL - 1;
 	(*(start_ccb->ccb_h.path->bus->xport->action))(start_ccb);
 }
 


More information about the p4-projects mailing list