xpt_path_inq: Use CAM_PRIORITY_NONE
XPT_PATH_INQ is not a queued request. Therefore, the priority information is not relevant, and so should be marked with CAM_PRIORITY_NONE. Sponsored by: Netflix Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D51167
This commit is contained in:
+1
-1
@@ -153,7 +153,7 @@ xpt_path_inq(struct ccb_pathinq *cpi, struct cam_path *path)
|
||||
{
|
||||
|
||||
bzero(cpi, sizeof(*cpi));
|
||||
xpt_setup_ccb(&cpi->ccb_h, path, CAM_PRIORITY_NORMAL);
|
||||
xpt_setup_ccb(&cpi->ccb_h, path, CAM_PRIORITY_NONE);
|
||||
cpi->ccb_h.func_code = XPT_PATH_INQ;
|
||||
xpt_action((union ccb *)cpi);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user