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:
Warner Losh
2025-07-07 14:04:42 -06:00
parent 034b3515ea
commit c6dc5d3676
+1 -1
View File
@@ -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);
}