Date: Tue, 19 Jan 2010 07:12:57 GMT From: Alexander Motin <mav@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 173356 for review Message-ID: <201001190712.o0J7CvXM005946@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/chv.cgi?CH=173356 Change 173356 by mav@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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001190712.o0J7CvXM005946>